mirror of https://github.com/freetype/freetype
* 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:
parent
30ca63d4fb
commit
986d503f4a
|
@ -939,6 +939,9 @@
|
|||
/* invalid entry; ignore it */
|
||||
entry->stringLength = 0;
|
||||
}
|
||||
|
||||
/* mark the string as not yet loaded */
|
||||
entry->string = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue