]> git.sesse.net Git - ffmpeg/commit
avcodec/iff: finetune the palette size check in the mask case
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 22 Jun 2019 19:17:52 +0000 (21:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 23 Jun 2019 08:51:16 +0000 (10:51 +0200)
commit0f9789c8e37eb6d166729e876729beb21b7d5647
treeba62eead7982b857d9dd9f642a7b38491cb9b118
parent92e8db532cdee3c73913174413428ffdc35032e2
avcodec/iff: finetune the palette size check in the mask case

Fixes: out of array access
Fixes: 15381/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5668057826983936
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/iff.c