forked from minhngoc25a/freetype2
* src/base/ftobjs.c (FT_CMap_New): Revert to zeroing.
Fixes fallout from c1fa7aa2bc
, reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38641
This commit is contained in:
parent
073ff2d77e
commit
59b43ae663
|
@ -3753,7 +3753,7 @@
|
|||
face = charmap->face;
|
||||
memory = FT_FACE_MEMORY( face );
|
||||
|
||||
if ( !FT_QALLOC( cmap, clazz->size ) )
|
||||
if ( !FT_ALLOC( cmap, clazz->size ) )
|
||||
{
|
||||
cmap->charmap = *charmap;
|
||||
cmap->clazz = clazz;
|
||||
|
|
Loading…
Reference in New Issue