Michael Niedermayer
fd21f6a0cc
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-09 13:54:52 +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
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2020-07-03 12:10:23 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2020-07-03 12:10:23 +02:00
2021-09-09 13:54:52 +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
2021-09-09 13:53:29 +02:00
2021-09-09 13:37:21 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:37:20 +02:00
2021-09-09 13:54:52 +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
2021-09-09 13:54:52 +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
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:54:52 +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
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2020-07-02 01:01:31 +02:00
2021-09-09 13:53:29 +02:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:37:20 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:37:20 +02:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:53:29 +02:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:54:52 +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-03 12:10:23 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:53:29 +02:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +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
2021-09-09 13:53:29 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:54:52 +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-02 01:01:31 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:37:20 +02:00
2021-09-09 13:37:20 +02:00
2021-09-09 13:53:29 +02:00
2020-07-02 01:01:31 +02:00
2020-07-02 01:01:31 +02:00
2020-07-02 01:01:31 +02:00
2021-09-09 13:37:21 +02:00
2020-07-03 12:10:24 +02:00
2021-09-09 13:53:29 +02:00
2020-07-03 12:10:24 +02:00
2020-09-04 22:06:02 +03:00
2020-09-04 19:26:16 +03:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:53:29 +02:00
2020-07-02 01:01:31 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:53:29 +02:00
2021-09-09 13:37:20 +02:00
2020-07-02 01:01:31 +02:00
2021-09-09 13:54:52 +02:00
2021-09-09 13:37:20 +02:00
2021-09-09 13:53:29 +02:00