* src/cff/cffparse.c (do_fixed): Fix typo.

Spotted by chris <chris@gcjd.org>.
This commit is contained in:
Werner Lemberg 2017-06-27 16:56:38 +02:00
parent dde8f5abbe
commit 2e7bb5e825
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -504,7 +504,7 @@
{
if ( FT_ABS( val ) > power_ten_limits[scaling] )
{
val = val > 0 ? 0x7FFFFFFFL : -0x7FFFFFFFFL;
val = val > 0 ? 0x7FFFFFFFL : -0x7FFFFFFFL;
goto Overflow;
}