From 2e7bb5e825880301e762f41fd0efa2aa18a4421f Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 27 Jun 2017 16:56:38 +0200 Subject: [PATCH] * src/cff/cffparse.c (do_fixed): Fix typo. Spotted by chris . --- ChangeLog | 6 ++++++ src/cff/cffparse.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f79ab736d..e9a047bca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-06-27 Werner Lemberg + + * src/cff/cffparse.c (do_fixed): Fix typo. + + Spotted by chris . + 2017-06-27 Werner Lemberg [truetype] Integer overflows. 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; }