diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-26 22:35:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:54:52 +0200 |
commit | fd21f6a0cc5f5cb732757679ce3ab94f081ca803 (patch) | |
tree | 88e890e48d655578fb24e30ea9c5d9bb57180fd1 /libavutil/bprint.c | |
parent | c7678193cf111d6128d8ca88b7b8be646f442b17 (diff) | |
download | ffmpeg-fd21f6a0cc5f5cb732757679ce3ab94f081ca803.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 'libavutil/bprint.c')
0 files changed, 0 insertions, 0 deletions