1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavformat
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
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
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:54:52 +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