[cff] Fix handling of `style_name == NULL' (#58630).
* src/cff/cffobjs.c (cff_face_init): If a call to `cff_strcpy' fails by returning NULL in `cff_face_init', `remove_style' is still called. This means that the NULL pointer is dereferenced, causing a crash.GSoC-2020-greg
parent
de088b1dfd
commit
a443474755
2 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue