From d0aaba5c5087781c7231e26fdd190c65baebde95 Mon Sep 17 00:00:00 2001 From: ariza Date: Wed, 26 Feb 2020 09:35:32 -0800 Subject: [PATCH] fixes oss-fuzz 20886 hb_set_t::resize () is needed after compact() --- src/hb-set.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-set.hh b/src/hb-set.hh index 71de7a82c..56df9b111 100644 --- a/src/hb-set.hh +++ b/src/hb-set.hh @@ -397,6 +397,7 @@ struct hb_set_t page_map[write_index++] = page_map[i]; } compact (write_index); + resize (write_index); } }