forked from minhngoc25a/freetype2
[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
This commit is contained in:
parent
a346abc093
commit
5e3a38b194
11
ChangeLog
11
ChangeLog
|
@ -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…
Reference in New Issue