diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-12-12 01:24:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:49 +0200 |
commit | da70d471ad830c0b6acfb4f31163dbeddcfd3322 (patch) | |
tree | 989d147f0d92c629a6f17556068952959f1fe2cf /libavcodec/escape124.c | |
parent | f59e526e09c0f4888045566c9bf315efd047b6ca (diff) | |
download | ffmpeg-da70d471ad830c0b6acfb4f31163dbeddcfd3322.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 'libavcodec/escape124.c')
0 files changed, 0 insertions, 0 deletions