From 189f65344a9c34618ecc11af30591165f8ff24d0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 13 Feb 2022 13:22:08 -0600 Subject: [PATCH] [fuzz-shape] Verify shape output Let the fuzzers loose on shape verify. --- test/fuzzing/hb-shape-fuzzer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fuzzing/hb-shape-fuzzer.cc b/test/fuzzing/hb-shape-fuzzer.cc index 0022a89ec..09bc1b43d 100644 --- a/test/fuzzing/hb-shape-fuzzer.cc +++ b/test/fuzzing/hb-shape-fuzzer.cc @@ -33,7 +33,7 @@ extern "C" int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size) { const char text[] = "ABCDEXYZ123@_%&)*$!"; hb_buffer_t *buffer = hb_buffer_create (); - // hb_buffer_set_flags (buffer, HB_BUFFER_FLAG_VERIFY); + hb_buffer_set_flags (buffer, HB_BUFFER_FLAG_VERIFY); hb_buffer_add_utf8 (buffer, text, -1, 0, -1); hb_buffer_guess_segment_properties (buffer); hb_shape (font, buffer, nullptr, 0);