diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-08 14:29:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:53:29 +0200 |
commit | f083f20fd215ef8c0b7fa9f4abf885df6d322b8a (patch) | |
tree | b61a4fd16a0a0d0678ff048333cc0550cf14c340 /libavformat/wtv_common.c | |
parent | a4c627df67ce6d1fc5a52c830d270485cf205249 (diff) | |
download | ffmpeg-f083f20fd215ef8c0b7fa9f4abf885df6d322b8a.tar.gz |
avformat/wtvdec: Check len in parse_chunks() to avoid overflow
Fixes: signed integer overflow: 2147483647 + 7 cannot be represented in type 'int'
Fixes: 30084/clusterfuzz-testcase-minimized-ffmpeg_dem_WTV_fuzzer-6192261941559296
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>
(cherry picked from commit 5552ceaf568915e668679f9581e07eb5507cafc4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/wtv_common.c')
0 files changed, 0 insertions, 0 deletions