From ca0f1bcbca2d6673211ffeb45067a0485ece5519 Mon Sep 17 00:00:00 2001 From: tsdgeos Date: Mon, 4 Jan 2021 19:13:04 +0100 Subject: [PATCH] kimageformats: fuzz the new .ani image handler (#4907) --- projects/kimageformats/build.sh | 3 ++- projects/kimageformats/kimgio_fuzzer.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/projects/kimageformats/build.sh b/projects/kimageformats/build.sh index 0a52fcc04..16399812a 100644 --- a/projects/kimageformats/build.sh +++ b/projects/kimageformats/build.sh @@ -67,7 +67,8 @@ make -j$(nproc) cd $SRC cd kimageformats -HANDLER_TYPES="QAVIFHandler avif +HANDLER_TYPES="ANIHandler ani + QAVIFHandler avif KraHandler kra OraHandler ora PCXHandler pcx diff --git a/projects/kimageformats/kimgio_fuzzer.cc b/projects/kimageformats/kimgio_fuzzer.cc index 4fe579d0b..c37bb2216 100644 --- a/projects/kimageformats/kimgio_fuzzer.cc +++ b/projects/kimageformats/kimgio_fuzzer.cc @@ -20,7 +20,7 @@ Usage: python infra/helper.py build_image kimageformats python infra/helper.py build_fuzzers --sanitizer undefined|address|memory kimageformats - python infra/helper.py run_fuzzer kimageformats kimgio_[avif|kra|ora|pcx|pic|psd|ras|rgb|tga|xcf]_fuzzer + python infra/helper.py run_fuzzer kimageformats kimgio_[ani|avif|kra|ora|pcx|pic|psd|ras|rgb|tga|xcf]_fuzzer */ @@ -28,6 +28,7 @@ #include #include +#include "ani_p.h" #include "avif_p.h" #include "kra.h" #include "ora.h"