diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-04 19:06:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-04 21:34:26 +0200 |
commit | 560109bd42006c15170521c69a0d50d141ef65ec (patch) | |
tree | b6213bc040d8fd76f34b32bfb0504610200bc6f4 /Meta/Lagom/Fuzzers | |
parent | 9321d9d83d366ad4cf686c856063ff9ac97c18a4 (diff) | |
download | serenity-560109bd42006c15170521c69a0d50d141ef65ec.zip |
LibTTF: Make TTF::Font loading API return error strings
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzTTF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzTTF.cpp b/Meta/Lagom/Fuzzers/FuzzTTF.cpp index 0d251b5ea3..f02962a437 100644 --- a/Meta/Lagom/Fuzzers/FuzzTTF.cpp +++ b/Meta/Lagom/Fuzzers/FuzzTTF.cpp @@ -11,6 +11,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { ByteBuffer font_data = ByteBuffer::copy(data, size); - TTF::Font::load_from_memory(font_data); + (void)TTF::Font::try_load_from_memory(font_data); return 0; } |