freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] nleft local overflow in cffload.c


From: Werner LEMBERG
Subject: Re: [Devel] nleft local overflow in cffload.c
Date: Fri, 20 Jun 2003 09:47:39 +0200 (CEST)

> in cffload.c, in cff_encoding_load, there is a declaration:
>     FT_Byte  nleft;
> 
> after nleft is read in, it is incremented.
> 
> with a font with a single range of 255 chars,
> the nleft++ causes FT_Byte to wrap to 0.
> 
> changing to:
>     FT_UInt nleft;
> 
> works ok.

Fixed, thanks.


    Werner



reply via email to

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