summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-18 13:41:03 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-18 21:11:30 +0100
commit750f1d580aa0358816ef1896b630e2ffe66ff232 (patch)
treef0f0b00f0666c661d364f9627db934dfe2ff5a96 /Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp
parent578a576a98598dc5476795a754d5cd4adf63864d (diff)
downloadserenity-750f1d580aa0358816ef1896b630e2ffe66ff232.zip
Fuzzers: Use ImageDecoderPlugin::frame() in image decoder fuzzers
Let's work towards getting rid of the first-frame-only bitmap() API.
Diffstat (limited to 'Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp b/Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp
index 60c6c9d5db..f27a2707d5 100644
--- a/Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzBMPLoader.cpp
@@ -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;
}