freetype-devel
[Top][All Lists]
Advanced

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

Re: Weirdness with FT_Alloc [was: OpenType with CFF outlines]


From: Werner LEMBERG
Subject: Re: Weirdness with FT_Alloc [was: OpenType with CFF outlines]
Date: Tue, 27 Jun 2000 15:10:13 +0200 (CEST)

> I took a gander at ftsystem.c; ft_alloc is basically malloc, but the
> size parameter passed to ft_alloc is of type long, instead of the
> "usual" size_t. Heck, it doesn't have to be size_t; unsigned long
> would do.  I just get worried about passing signed arguments to
> malloc, even if positivity is checked before the call.

ft_alloc() is never used directly; values <= 0 are handled in
FT_Alloc().  This can't be the reason.


    Werner



reply via email to

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