[subset-cff] Another exact allocation
This commit is contained in:
parent
54dd01b865
commit
edb812345a
|
@ -974,7 +974,7 @@ struct subr_subsetter_t
|
|||
if (opstr.op == OpCode_callsubr || opstr.op == OpCode_callgsubr)
|
||||
size += 3;
|
||||
}
|
||||
if (!buff.alloc (buff.length + size))
|
||||
if (!buff.alloc (buff.length + size, true))
|
||||
return false;
|
||||
|
||||
for (auto &opstr : str.values)
|
||||
|
|
Loading…
Reference in New Issue