diff --git a/ChangeLog b/ChangeLog index d59aab6bb..b6f4d7792 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2021-04-27 Werner Lemberg + + * 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 * src/sfnt/sfobjs.c (sfnt_init_face): Revert macro change. diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c index c22ce5368..411b2e3d4 100644 --- a/src/psnames/psmodule.c +++ b/src/psnames/psmodule.c @@ -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 );