diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-12-12 01:24:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:53:29 +0200 |
commit | 0fb1a9f6ecfc753824b707a4c251b5abe37acd0e (patch) | |
tree | 83d79ed3d66b8d04c6061ad3bcacea504c6ecdaf /libavdevice/dshow_filter.c | |
parent | 1506eb092b45245a0bab1b7be0d856649dc38dff (diff) | |
download | ffmpeg-0fb1a9f6ecfc753824b707a4c251b5abe37acd0e.tar.gz |
avformat/voc_packet: Add a basic check on max_size
Fixes: signed integer overflow: -2147483648 - 4 cannot be represented in type 'int'
Fixes: 28127/clusterfuzz-testcase-minimized-ffmpeg_dem_VOC_fuzzer-4880586455646208
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 52f75181bfada2b4b127e744674591c7753c4b7d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/dshow_filter.c')
0 files changed, 0 insertions, 0 deletions