FFmpeg/libavformat
Michael Niedermayer a32db8ce15 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>
2021-09-09 13:53:29 +02:00
..
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2018-05-06 15:07:28 +08:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2018-04-16 13:46:10 -03:00
2019-03-14 16:53:57 +01:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2020-07-01 22:27:58 +02:00
2018-08-14 22:06:30 +05:30
2018-05-05 21:35:31 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2018-02-11 20:03:33 +01:00
2021-09-09 13:53:29 +02:00
2018-03-07 22:26:53 +01:00
2018-10-13 15:40:08 +02:00
2020-07-03 12:10:24 +02:00
2019-06-27 17:50:47 +02:00
2021-09-09 13:53:29 +02:00
2019-06-27 17:50:47 +02:00
2020-01-06 11:30:42 +01:00