]> git.sesse.net Git - ffmpeg/commit
avcodec/cdtoons: Check sprite_offset is within the packet
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 May 2020 19:08:17 +0000 (21:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 12 May 2020 19:39:13 +0000 (21:39 +0200)
commit4d701e92223d046a9d52c3ae16897e492f045478
tree635f4367b43d66ca524346cccbc87c345abedfba
parent19738b1bc2e2700d9f589fb9d1d1d10e2bbf3d5e
avcodec/cdtoons: Check sprite_offset is within the packet

Fixes: out of array read
Fixes: 20659/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CDTOONS_fuzzer-5754518731227136
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cdtoons.c