1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

Fuzzers: Use ImageDecoders instead of load_FORMAT_from_memory() wrappers

This commit is contained in:
Andreas Kling 2021-11-11 22:22:32 +01:00
parent 32d59257d6
commit b189c88ec2
7 changed files with 14 additions and 7 deletions

View file

@ -10,6 +10,7 @@
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
{
Gfx::load_png_from_memory(data, size);
Gfx::PNGImageDecoderPlugin decoder(data, size);
(void)decoder.bitmap();
return 0;
}