diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-01-12 21:17:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:53:29 +0200 |
commit | d31c6fdf3522f715fec601995a60a8972c24245a (patch) | |
tree | 9e89260494f4893377408d480e2afd5cb7fcb3ed /libavutil/hwcontext_cuda.c | |
parent | b9570ed6f3a159ee8b354af9dfb770bcb3518fd7 (diff) | |
download | ffmpeg-d31c6fdf3522f715fec601995a60a8972c24245a.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>
(cherry picked from commit 0bee216ad454dd7238a03dd9a76428cc6c3233cc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/hwcontext_cuda.c')
0 files changed, 0 insertions, 0 deletions