diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-26 22:35:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:49 +0200 |
commit | 153833e42cfd0b6e0423288b0ffb8522c9dfb7e3 (patch) | |
tree | a9fa51bbe364300d02c9d5c6bbd04c6ac71045c0 /libavformat/assenc.c | |
parent | 090e2d16809e3b52fbc7d1e4a2d1c568f4d1c263 (diff) | |
download | ffmpeg-153833e42cfd0b6e0423288b0ffb8522c9dfb7e3.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 'libavformat/assenc.c')
0 files changed, 0 insertions, 0 deletions