diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-10 23:21:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-09 22:02:20 +0200 |
commit | e5dac881848ac1004942e5cd7ed82135d84ac604 (patch) | |
tree | 9885754230570c093a3d95240d235e5cf127eb18 /libavformat/oggdec.c | |
parent | b3a9f2dfbf2876231870bdbfc7c55c9b92fdd91a (diff) | |
download | ffmpeg-e5dac881848ac1004942e5cd7ed82135d84ac604.tar.gz |
avformat/r3d: Check samples before computing duration
Fixes: signed integer overflow: -4611686024827895807 + -4611686016279904256 cannot be represented in type 'long'
Fixes: 30161/clusterfuzz-testcase-minimized-ffmpeg_dem_R3D_fuzzer-5694406713802752
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7a2aa5dc2af6c4fc66aaedd341b0886fbc746f0d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/oggdec.c')
0 files changed, 0 insertions, 0 deletions