Caused by incorrect bounds check in glyph closure for context lookups.
This commit is contained in:
Garret Rieger 2021-03-30 13:20:50 -07:00 committed by Behdad Esfahbod
parent 9f77a0c1ff
commit adca4ce071
2 changed files with 1 additions and 1 deletions

View File

@ -1248,7 +1248,7 @@ static void context_closure_recurse_lookups (hb_closure_context_t *c,
for (unsigned int i = 0; i < lookupCount; i++)
{
unsigned seqIndex = lookupRecord[i].sequenceIndex;
if (seqIndex > inputCount) continue;
if (seqIndex >= inputCount) continue;
hb_set_t *pos_glyphs = hb_set_create ();