fuzzer fix

This commit is contained in:
Qunxin Liu 2021-05-27 11:40:34 -07:00 committed by Behdad Esfahbod
parent cb5a6b5a27
commit 7ab0f4eda9
2 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ _try_subset (const TableType *table,
hb_subset_context_t* c /* OUT */)
{
c->serializer->start_serialize<TableType> ();
if (c->serializer->in_error ()) return false;
bool needed = table->subset (c);
if (!c->serializer->ran_out_of_room ())