diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-10 23:21:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:53:29 +0200 |
commit | a32db8ce15875d58c19c202ecf0bf203e6ffa4d5 (patch) | |
tree | b40d63e9e1068f1b1d5ee81eee638ebc1a39b65e /libavfilter/vf_boxblur.c | |
parent | b713f01bb3b11eeea4c9f76959d15594fd8718c2 (diff) | |
download | ffmpeg-a32db8ce15875d58c19c202ecf0bf203e6ffa4d5.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 'libavfilter/vf_boxblur.c')
0 files changed, 0 insertions, 0 deletions