[ENOMEM] check for error in lookup visited set.
This commit is contained in:
parent
eea9b59fc5
commit
9562239f05
|
@ -163,6 +163,9 @@ struct hb_closure_lookups_context_t :
|
||||||
if (lookup_count++ > HB_MAX_LOOKUP_INDICES)
|
if (lookup_count++ > HB_MAX_LOOKUP_INDICES)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (visited_lookups->in_error ())
|
||||||
|
return true;
|
||||||
|
|
||||||
return visited_lookups->has (lookup_index);
|
return visited_lookups->has (lookup_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue