mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 00:59:16 +01:00
[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:
1 parent
9f77a0c1ff
commit
adca4ce071
2 files changed
+1
-1
No files matched your search
@@ -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.
Reference in new issue
Block a user