[subset] fuzzer fix: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40406
This commit is contained in:
parent
de9424172d
commit
85deddb16e
|
@ -971,6 +971,7 @@ struct ClipList
|
||||||
const hb_map_t& gid_offset_map) const
|
const hb_map_t& gid_offset_map) const
|
||||||
{
|
{
|
||||||
TRACE_SERIALIZE (this);
|
TRACE_SERIALIZE (this);
|
||||||
|
if (gids.is_empty ()) return_trace (0);
|
||||||
unsigned count = 0;
|
unsigned count = 0;
|
||||||
|
|
||||||
hb_codepoint_t start_gid= gids.get_min ();
|
hb_codepoint_t start_gid= gids.get_min ();
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue