[fuzz] Disable verification for now.
This commit is contained in:
parent
6596e42d16
commit
61856359cb
|
@ -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);
|
||||
|
@ -51,7 +51,7 @@ extern "C" int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
|
|||
text32[10] = test_font (font, text32[15]) % 256;
|
||||
|
||||
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_utf32 (buffer, text32, sizeof (text32) / sizeof (text32[0]), 0, -1);
|
||||
hb_buffer_guess_segment_properties (buffer);
|
||||
hb_shape (font, buffer, nullptr, 0);
|
||||
|
|
Loading…
Reference in New Issue