[subset] fix fuzzer timeout if visisted_paint goes into error.
This commit is contained in:
parent
4ced2e8a8a
commit
87496bf63e
|
@ -71,7 +71,7 @@ struct hb_colrv1_closure_context_t :
|
||||||
bool paint_visited (const void *paint)
|
bool paint_visited (const void *paint)
|
||||||
{
|
{
|
||||||
hb_codepoint_t delta = (hb_codepoint_t) ((uintptr_t) paint - (uintptr_t) base);
|
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;
|
return true;
|
||||||
|
|
||||||
visited_paint.add (delta);
|
visited_paint.add (delta);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue