]> git.sesse.net Git - ffmpeg/commit
avcodec/iff: Over-allocate ham_palbuf for HAM6 IFF-PBM
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 3 Jan 2020 22:24:15 +0000 (23:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 30 Jan 2020 18:56:25 +0000 (19:56 +0100)
commit8652f4e7a15e56fadf9697188c1ed42c9981db82
tree821cb98df4ab311648ac148dc2124963a82cc61e
parentd4b05f31d895a4ed13e969348265e5031de1dfdb
avcodec/iff: Over-allocate ham_palbuf for HAM6 IFF-PBM

IFF-PBM-HAM6 can read out of array without this overallocation
Fixes: Out of array read
Fixes: 19752/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5675331403120640
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/iff.c