[psaux] Mask numeric overflow.

* src/psaux/cffdecode.c (cff_decoder_parse_charstrings): Mask numeric
overflow.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13041
cmakelists-updates
Armin Hasitzka 6 years ago
parent a346abc093
commit 5e3a38b194
  1. 11
      ChangeLog
  2. 4
      src/psaux/cffdecode.c

@ -1,3 +1,14 @@
2019-02-21 Armin Hasitzka <prince.cherusker@gmail.com>
[psaux] Mask numeric overflow.
* src/psaux/cffdecode.c (cff_decoder_parse_charstrings): Mask numeric
overflow.
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13041
2019-02-16 Wink Saville <wink@saville.com>
* src/autofit/afwarp.h (af_warper_compute): Fix declaration.

@ -1556,9 +1556,9 @@
}
if ( dx < 0 )
dx = -dx;
dx = NEG_LONG( dx );
if ( dy < 0 )
dy = -dy;
dy = NEG_LONG( dy );
/* strange test, but here it is... */
horizontal = ( dx > dy );

Loading…
Cancel
Save