FFmpeg/libavformat
Michael Niedermayer 042e207e9b
avformat/mov: Check samplesize and offset to avoid integer overflow
Fixes: signed integer overflow: 9223372036854775584 + 536870912 cannot be represented in type 'long'
Fixes: 55844/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-510613920664780

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 53c1f5c2e28e54ea8174b196d5cf4a158907395a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2023-05-26 00:04:35 +02:00
..
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2022-10-09 22:15:49 +02:00
2022-10-09 22:15:35 +02:00
2021-09-09 13:53:29 +02:00
2017-10-19 22:07:21 +02:00
2017-10-19 22:07:21 +02:00
2021-09-09 13:53:29 +02:00
2022-10-09 22:15:50 +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
2022-10-09 22:15:33 +02:00
2021-09-09 13:53:29 +02:00
2022-10-09 22:15:47 +02:00
2022-10-09 22:15:49 +02:00
2021-09-09 13:53:29 +02:00
2018-08-14 22:06:30 +05:30
2017-12-08 16:01:09 +01:00
2018-05-05 21:35:31 +02:00
2022-10-09 22:15:51 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:54:52 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2022-10-09 22:15:51 +02: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
2022-10-09 22:15:38 +02:00
2018-10-13 15:40:08 +02:00
2020-07-03 12:10:24 +02:00
2022-04-09 22:19:40 +02:00
2019-06-27 17:50:47 +02:00
2021-09-09 13:53:29 +02:00
2021-10-16 21:19:24 +02:00
2019-06-27 17:50:47 +02:00
2020-01-06 11:30:42 +01:00