aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/exrdsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-11-30 12:22:25 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-01-06 15:03:15 +0100
commit8e75a698501495bc4a65e9ccd202ea491275f746 (patch)
tree8f67aa9c13c3e1fa92e0fc86ba9fc0903d10a74a /libavcodec/exrdsp.c
parent780e8ac273ee8208c3dddcad54561674a7f6ba25 (diff)
downloadffmpeg-8e75a698501495bc4a65e9ccd202ea491275f746.tar.gz
avcodec/iff: Check that video_size is large enough for the read parameters
video is allocated before parameters like bpp are read. Fixes: out of array access Fixes: 19084/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5718556033679360 Fixes: 19465/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5759908398235648 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f1b97f62f86d5dca35d01d7a5ebbc5dca2a88ae6) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/exrdsp.c')
0 files changed, 0 insertions, 0 deletions