mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 18:13:53 +01:00
[cff] Another no-memset in INDEX
This commit is contained in:
1 parent
5fd2f255fc
commit
b3ad4d72cc
1 file changed
+1
-1
@@ -171,7 +171,7 @@ struct CFFIndex
|
||||
if (!this->count) return_trace (true);
|
||||
if (unlikely (!c->extend (this->offSize))) return_trace (false);
|
||||
this->offSize = off_size;
|
||||
if (unlikely (!c->allocate_size<HBUINT8> (off_size * (this->count + 1))))
|
||||
if (unlikely (!c->allocate_size<HBUINT8> (off_size * (this->count + 1), false)))
|
||||
return_trace (false);
|
||||
|
||||
/* serialize indices */
|
||||
|
||||
Reference in new issue
Block a user