* src/cff/cffgload.c (cff_builder_init): Add safety guard (#50578).
This commit is contained in:
parent
7aeee3c50f
commit
dd64a6227c
@ -1,3 +1,7 @@
|
||||
2017-03-20 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cff/cffgload.c (cff_builder_init): Add safety guard (#50578).
|
||||
|
||||
2017-03-18 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Introduce FT_UINT_TO_POINTER macro (#50560).
|
||||
|
@ -281,8 +281,11 @@
|
||||
CFF_Internal internal = (CFF_Internal)size->root.internal;
|
||||
|
||||
|
||||
builder->hints_globals = (void *)internal->topfont;
|
||||
builder->hints_funcs = glyph->root.internal->glyph_hints;
|
||||
if ( internal )
|
||||
{
|
||||
builder->hints_globals = (void *)internal->topfont;
|
||||
builder->hints_funcs = glyph->root.internal->glyph_hints;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user