* src/cff/cffdrivr.c (cff_glyph_load): Fix guard for `size`.

This was forgotten to change in commit 2b54eba36b (in May 2004).

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58739
gsoc-anurag-2023-docs-final
Werner Lemberg 2 years ago
parent 5edd6d52b1
commit e02a40a4f8
  1. 2
      src/cff/cffdrivr.c

@ -181,7 +181,7 @@
if ( load_flags & FT_LOAD_NO_SCALE )
size = NULL;
if ( cffsize )
if ( size )
{
/* these two objects must have the same parent */
if ( size->face != slot->face )

Loading…
Cancel
Save