mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-26 01:11:25 +01:00
[CoverageFormat2] Fix iterator to avoid infinite loop
on invalid data. Fixes https://oss-fuzz.com/testcase-detail/5304497047470080
This commit is contained in:
1 parent
b475a2ab29
commit
d8574b44cc
1 file changed
+1
@@ -187,6 +187,7 @@ struct CoverageFormat2_4
|
||||
* consecutive and monotonically increasing,
|
||||
* ie. iota(). */
|
||||
i = c->rangeRecord.len;
|
||||
j = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user