* src/sfnt/ttload.c (tt_face_load_name): NULL-initialize langTag.

Another attempt to fix fallout reported as
  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40024
This commit is contained in:
Alexei Podtelezhnikov 2021-10-17 09:14:27 -04:00
parent 30ca63d4fb
commit 986d503f4a
1 changed files with 3 additions and 0 deletions

View File

@ -939,6 +939,9 @@
/* invalid entry; ignore it */
entry->stringLength = 0;
}
/* mark the string as not yet loaded */
entry->string = NULL;
}
}