1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

Fuzzers: Use ImageDecoderPlugin::frame() in image decoder fuzzers

Let's work towards getting rid of the first-frame-only bitmap() API.
This commit is contained in:
Andreas Kling 2021-11-18 13:41:03 +01:00
parent 578a576a98
commit 750f1d580a
7 changed files with 7 additions and 7 deletions

View file

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