diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-30 12:22:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 19:51:57 +0100 |
commit | 3679bda78b44c3fa6c8e4c9e2c8a47fac98fda73 (patch) | |
tree | df75a8832508e512450cdde50c3f4b4c55d8d583 /libavcodec/aarch64 | |
parent | affedbd02770229f189d8cb02967aca59da1d2f0 (diff) | |
download | ffmpeg-3679bda78b44c3fa6c8e4c9e2c8a47fac98fda73.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/aarch64')
0 files changed, 0 insertions, 0 deletions