* src/psmodule.c (ps_unicodes_init): Ignore empty glyph names.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33637
This commit is contained in:
Werner Lemberg 2021-04-27 13:28:35 +02:00
parent caff87b1f9
commit 2ec6feaf39
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2021-04-27 Werner Lemberg <wl@gnu.org>
* src/psmodule.c (ps_unicodes_init): Ignore empty glyph names.
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33637
2021-04-26 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/sfnt/sfobjs.c (sfnt_init_face): Revert macro change.

View File

@ -343,7 +343,7 @@
const char* gname = get_glyph_name( glyph_data, n );
if ( gname )
if ( gname && *gname )
{
ps_check_extra_glyph_name( gname, n,
extra_glyphs, extra_glyph_list_states );