freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Devel] Patch for psobjs.c


From: Blinn, Eric W
Subject: RE: [Devel] Patch for psobjs.c
Date: Tue, 20 Feb 2001 09:42:51 -0600

Ah, I see it now.  Next time I see something that looks 
suspicious I'll take a little closer look at how everything 
gets expanded out.

Thanks,
Eric

> -----Original Message-----
> From: Werner LEMBERG [mailto:address@hidden
> Sent: Saturday, February 17, 2001 12:34 AM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [Devel] Patch for psobjs.c
> 
> 
> 
> > Attached is a patch for psaux/psobjs.c.  The nature of the
> > bug is that in the event of a failed ALLOC, an uninitialized 
> > error code is returned.
> 
> I think you are wrong.
> 
>   if ( ALLOC( ... ) )
> 
> expands to
> 
>   if ( FT_SET_ERROR( MEM_Alloc( ... ) ) )
> 
> expands to
> 
>   if ( ( error = MEM_Alloc( ... ) ) != 0 )
> 
> so `error' is correctly initialized.
> 
> 
>     Werner
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]