diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-01-12 21:17:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-01-20 21:26:46 +0100 |
commit | 0bee216ad454dd7238a03dd9a76428cc6c3233cc (patch) | |
tree | c8393a5730f5e67ece0f83b352f8a5d0b8eee5ea /libswresample | |
parent | 03c479ce236955fc329c7f9f4765ee1ec256bb73 (diff) | |
download | ffmpeg-0bee216ad454dd7238a03dd9a76428cc6c3233cc.tar.gz |
avformat/asfdec_o: Check size vs. offset in detect_unknown_subobject()
Fixes: signed integer overflow: 2314885530818453566 + 7503032301549264928 cannot be represented in type 'long'
Fixes: 26639/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_O_fuzzer-6024222100684800
Alternatively this could be ignored but then the end condition of the loop
would be hard to reach as avio_tell() is int64_t
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswresample')
0 files changed, 0 insertions, 0 deletions