fixed a fuzzer bug

This commit is contained in:
Michiharu Ariza 2019-03-28 15:07:49 -07:00
parent 67175987bd
commit 99f0c107f7
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ struct index_map_subset_plan_t
last_gid = gid;
}
if (last_gid == (hb_codepoint_t)-1) return;
map_count = last_gid;
for (gid = 0; gid < map_count; gid++)
{