diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:38 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:38 +0900 |
commit | aed4ae7da96caf9ff77963690b7ab5e8fdbdc4b9 (patch) | |
tree | fd214a1615d5f2f91bdebffdcbd27c800c5d9827 | |
parent | 88aae380f20d75d95d592f2fc71fbb1ea53a80e6 (diff) | |
download | freetype2-aed4ae7da96caf9ff77963690b7ab5e8fdbdc4b9.tar.gz |
gxvalid: Guarantee `trak' table size upto 32-bit.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/gxvalid/gxvtrak.c | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,13 @@ 2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> + gxvalid: Guarantee `trak' table size upto 32-bit. + + * src/gxvalid/gxvtrak.c (gxv_trak_validate): + The type of `offset' is changed from FT_UInt to + FT_Offset, for 16-bit platforms. + +2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> + type1: Fix a data type mismatching with its source. * include/freetype/internal/t1types.h: The type of diff --git a/src/gxvalid/gxvtrak.c b/src/gxvalid/gxvtrak.c index 432ee4e27..df3fd15c0 100644 --- a/src/gxvalid/gxvtrak.c +++ b/src/gxvalid/gxvtrak.c @@ -198,7 +198,7 @@ { FT_Bytes p = table; FT_Bytes limit = 0; - FT_UInt table_size; + FT_Offset table_size; GXV_ValidatorRec validrec; GXV_Validator valid = &validrec; |