forked from minhngoc25a/freetype2
[truetype] Integer overflow.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2455 * src/truetype/ttinterp.c (Ins_SCFS): Use SUB_LONG.
This commit is contained in:
parent
abeb28f161
commit
ca799e9be5
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2017-07-03 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Integer overflow.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2455
|
||||
|
||||
* src/truetype/ttinterp.c (Ins_SCFS): Use SUB_LONG.
|
||||
|
||||
2017-07-01 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* src/sfnt/sfobjs.c (sfnt_load_face): Ignore No_Unicode_Glyph_Name.
|
||||
|
|
|
@ -4803,7 +4803,7 @@
|
|||
|
||||
K = FAST_PROJECT( &exc->zp2.cur[L] );
|
||||
|
||||
exc->func_move( exc, &exc->zp2, L, args[1] - K );
|
||||
exc->func_move( exc, &exc->zp2, L, SUB_LONG( args[1], K ) );
|
||||
|
||||
/* UNDOCUMENTED! The MS rasterizer does that with */
|
||||
/* twilight points (confirmed by Greg Hitchcock) */
|
||||
|
|
Loading…
Reference in New Issue