diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/cff/cffparse.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2017-06-27 Werner Lemberg <wl@gnu.org> + * src/cff/cffparse.c (do_fixed): Fix typo. + + Spotted by chris <chris@gcjd.org>. + +2017-06-27 Werner Lemberg <wl@gnu.org> + [truetype] Integer overflows. Reported as diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c index ae55bbb85..9d7bf6d22 100644 --- a/src/cff/cffparse.c +++ b/src/cff/cffparse.c @@ -504,7 +504,7 @@ { if ( FT_ABS( val ) > power_ten_limits[scaling] ) { - val = val > 0 ? 0x7FFFFFFFL : -0x7FFFFFFFFL; + val = val > 0 ? 0x7FFFFFFFL : -0x7FFFFFFFL; goto Overflow; } |