freetype-devel
[Top][All Lists]
Advanced

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

[Devel] nleft local overflow in cffload.c


From: Dirck Blaskey
Subject: [Devel] nleft local overflow in cffload.c
Date: Thu, 19 Jun 2003 12:59:20 -0700

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.



reply via email to

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