forked from minhngoc25a/freetype2
[truetype] Better protection against malformed GX data (#46166).
* src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Correctly handle empty `localpoints' array.
This commit is contained in:
parent
d353f6e012
commit
c220d8b498
|
@ -1,3 +1,10 @@
|
|||
2015-10-10 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Better protection against malformed GX data (#46166).
|
||||
|
||||
* src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Correctly
|
||||
handle empty `localpoints' array.
|
||||
|
||||
2015-10-10 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/pcf/pcfread.c (pcf_read_TOC): Check stream size (#46162).
|
||||
|
|
|
@ -1950,6 +1950,9 @@
|
|||
#endif
|
||||
}
|
||||
|
||||
else if ( localpoints == NULL )
|
||||
; /* failure, ignore it */
|
||||
|
||||
else
|
||||
{
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
|
|
Loading…
Reference in New Issue