mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Fuzzers: Don't disable debug logging in GIF fuzzer if GIF_DEBUG is set
This commit is contained in:
parent
d186582d30
commit
4173a9880f
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
|
||||
{
|
||||
AK::set_debug_enabled(false);
|
||||
if constexpr (!GIF_DEBUG) {
|
||||
AK::set_debug_enabled(false);
|
||||
}
|
||||
auto decoder_or_error = Gfx::GIFImageDecoderPlugin::create({ data, size });
|
||||
if (decoder_or_error.is_error())
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue