diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-26 22:35:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-09 22:02:21 +0200 |
commit | 3b7ece0fcc06f5d59a5a0feed72495a3274b690d (patch) | |
tree | 9197d3eef4c39837114d8833a3211332be52b1f2 /libavcodec/mediacodecdec_common.c | |
parent | 0233d6c82965c4d95a08436cb2bbd45b7f8f6b1b (diff) | |
download | ffmpeg-3b7ece0fcc06f5d59a5a0feed72495a3274b690d.tar.gz |
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>
Diffstat (limited to 'libavcodec/mediacodecdec_common.c')
0 files changed, 0 insertions, 0 deletions