From 90872a29ee5d0bef6df1c2900f7001c11106c4da Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Tue, 11 Jun 2019 12:28:30 -0700 Subject: [PATCH] change assert(false) to failure --- src/hb-subset-cff-common.cc | 2 +- ...se-minimized-hb-subset-fuzzer-5680398559870976 | Bin 0 -> 145 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5680398559870976 diff --git a/src/hb-subset-cff-common.cc b/src/hb-subset-cff-common.cc index aa5d27b36..223c6a821 100644 --- a/src/hb-subset-cff-common.cc +++ b/src/hb-subset-cff-common.cc @@ -226,7 +226,7 @@ hb_serialize_cff_fdselect (hb_serialize_context_t *c, fdselect_ranges); default: - assert(false); + return_trace (false); } return_trace (true); diff --git a/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5680398559870976 b/test/fuzzing/fonts/clusterfuzz-testcase-minimized-hb-subset-fuzzer-5680398559870976 new file mode 100644 index 0000000000000000000000000000000000000000..5c7b6b50bd7f661b471b0d702bca7bdfdad0f1bd GIT binary patch literal 145 zcmZQzWME)mR=^6J-Q0{o5