1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavformat
Michael Niedermayer 153833e42c avformat/rmdec: Check old_format len for overflow
Maybe such large values could be disallowed earlier and closer to where
they are set.

Fixes: signed integer overflow: 538976288 * 8224 cannot be represented in type 'int'
Fixes: 29102/clusterfuzz-testcase-minimized-ffmpeg_dem_RM_fuzzer-6704350354341888

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 06d174e289eb185f03a34a738965f0042f39c038)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-11 21:23:49 +02:00
..
2021-09-11 21:23:49 +02:00
2021-09-11 21:23:48 +02:00
2016-07-03 04:37:48 +02:00
2017-09-09 12:07:14 +02:00
2017-03-29 14:49:29 +02:00
2017-09-01 17:56:33 +02:00
2021-09-11 21:23:48 +02:00
2021-09-11 21:23:48 +02:00
2017-09-20 03:31:48 +02:00
2021-09-11 21:23:49 +02:00
2017-09-20 03:31:48 +02:00
2017-09-01 18:52:56 +08:00
2021-09-11 21:23:49 +02:00
2017-08-29 01:33:47 +02:00
2021-09-11 21:23:48 +02:00
2017-02-11 20:20:07 +01:00
2019-03-24 10:38:52 +01:00
2021-09-11 21:23:48 +02:00
2021-09-11 21:23:48 +02:00
2017-09-01 02:16:33 -03:00
2016-05-04 18:16:21 +02:00
2017-10-05 17:10:23 +02:00
2018-06-18 01:16:03 +02:00
2021-09-11 21:23:48 +02:00
2017-09-09 12:07:14 +02:00
2021-09-11 21:23:49 +02:00
2016-05-21 18:49:45 +02:00
2017-03-30 13:26:04 +02:00
2021-09-11 21:23:49 +02:00
2021-09-11 21:23:48 +02:00
2017-06-13 19:49:06 +02:00
2016-07-17 13:10:27 -03:00
2021-09-11 21:23:49 +02:00
2017-09-01 17:56:33 +02:00
2017-09-01 02:16:33 -03:00
2017-03-02 11:39:54 +01:00
2017-07-10 15:02:29 -04:00
2021-09-11 21:23:49 +02:00
2017-01-30 11:00:58 +01:00
2017-09-21 16:17:02 -08:00
2017-09-09 12:07:14 +02:00
2016-05-03 15:45:10 +02:00
2017-09-01 02:16:33 -03:00
2020-07-02 19:55:10 +02:00
2016-08-04 16:25:40 -03:00
2019-11-14 23:30:37 +01:00
2021-09-11 21:23:48 +02:00
2019-11-14 23:30:37 +01:00
2019-11-14 23:30:37 +01:00