* 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
This commit is contained in:
Werner Lemberg 2023-05-08 20:12:26 +02:00
parent 5edd6d52b1
commit e02a40a4f8
1 changed files with 1 additions and 1 deletions

View File

@ -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 )