* src/sfnt/ttcmap.c (tt_cmap2_char_next): Fix endless loop.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4838
This commit is contained in:
parent
0268bf35f0
commit
3f090c6843
@ -1,3 +1,11 @@
|
||||
2017-12-31 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/sfnt/ttcmap.c (tt_cmap2_char_next): Fix endless loop.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4838
|
||||
|
||||
2017-12-31 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Synchronize other Windows project files.
|
||||
|
@ -518,7 +518,11 @@
|
||||
|
||||
|
||||
if ( offset == 0 )
|
||||
{
|
||||
if ( charcode == 0x100 )
|
||||
goto Exit; /* this happens only for a malformed cmap */
|
||||
goto Next_SubHeader;
|
||||
}
|
||||
|
||||
if ( char_lo < start )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user