[subset] fixes https://oss-fuzz.com/testcase-detail/6173520787800064.
Caused by incorrect bounds check in glyph closure for context lookups.
This commit is contained in:
parent
9f77a0c1ff
commit
adca4ce071
@ -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 ();
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user