* src/cff/cffgload.c (cff_builder_init): Add safety guard (#50578).

arv-test
Werner Lemberg 8 years ago
parent 7aeee3c50f
commit dd64a6227c
  1. 4
      ChangeLog
  2. 7
      src/cff/cffgload.c

@ -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…
Cancel
Save