mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 17:19:17 +01:00
[subset] fix fuzzer timeout if visisted_paint goes into error.
This commit is contained in:
1 parent
4ced2e8a8a
commit
87496bf63e
2 files changed
+1
-1
No files matched your search
@@ -71,7 +71,7 @@ struct hb_colrv1_closure_context_t :
|
||||
bool paint_visited (const void *paint)
|
||||
{
|
||||
hb_codepoint_t delta = (hb_codepoint_t) ((uintptr_t) paint - (uintptr_t) base);
|
||||
if (visited_paint.has (delta))
|
||||
if (visited_paint.in_error() || visited_paint.has (delta))
|
||||
return true;
|
||||
|
||||
visited_paint.add (delta);
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user