Skip to content

Commit

Permalink
fixes oss-fuzz 20886
Browse files Browse the repository at this point in the history
hb_set_t::resize () is needed after compact()
  • Loading branch information
blueshade7 committed Feb 26, 2020
1 parent 05a25c1 commit d0aaba5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hb-set.hh
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ struct hb_set_t
page_map[write_index++] = page_map[i];
}
compact (write_index);
resize (write_index);
}
}

Expand Down

0 comments on commit d0aaba5

Please sign in to comment.