ref: 2e7bb5e825880301e762f41fd0efa2aa18a4421f
parent: dde8f5abbe5a27af2186c3f0e2c702612d7ca930
author: Werner Lemberg <[email protected]>
date: Tue Jun 27 12:56:38 EDT 2017
* src/cff/cffparse.c (do_fixed): Fix typo. Spotted by chris <[email protected]>.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2017-06-27 Werner Lemberg <[email protected]>
+ * src/cff/cffparse.c (do_fixed): Fix typo.
+
+ Spotted by chris <[email protected]>.
+
+2017-06-27 Werner Lemberg <[email protected]>
+
[truetype] Integer overflows.
Reported as
--- 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;
}