This commit is contained in:
ckitagawa 2020-04-21 11:49:05 -04:00 committed by Behdad Esfahbod
parent 1cd14b40e7
commit b22f61d86a
2 changed files with 6 additions and 1 deletions

View File

@ -572,7 +572,12 @@ struct IndexSubtableArray
for (unsigned int start = 0; start < lookup.length;)
{
if (unlikely (!lookup[start].second->add_new_record (c, bitmap_size_context, &lookup, this, &start, &records)))
return_trace (false);
{
// Discard any leftover pushes to the serializer from successful records.
for (unsigned int i = 0; i < records.length; i++)
c->serializer->pop_discard ();
return_trace (false);
}
}
// Workaround to ensure offset ordering is from least to greatest when