Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
2ec6feaf
by Werner Lemberg at 2021-04-27T13:28:35+02:00
2 changed files:
Changes:
1 |
+2021-04-27 Werner Lemberg <wl@gnu.org>
|
|
2 |
+ |
|
3 |
+ * src/psmodule.c (ps_unicodes_init): Ignore empty glyph names.
|
|
4 |
+ |
|
5 |
+ Reported as
|
|
6 |
+ |
|
7 |
+ https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33637
|
|
8 |
+ |
|
1 | 9 |
2021-04-26 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2 | 10 |
|
3 | 11 |
* src/sfnt/sfobjs.c (sfnt_init_face): Revert macro change.
|
... | ... | @@ -343,7 +343,7 @@ |
343 | 343 |
const char* gname = get_glyph_name( glyph_data, n );
|
344 | 344 |
|
345 | 345 |
|
346 |
- if ( gname )
|
|
346 |
+ if ( gname && *gname )
|
|
347 | 347 |
{
|
348 | 348 |
ps_check_extra_glyph_name( gname, n,
|
349 | 349 |
extra_glyphs, extra_glyph_list_states );
|