diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-26 22:35:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-08 21:31:50 +0200 |
commit | ee34b6549f76f5ad0719b48debffd7e1c292701e (patch) | |
tree | c23e52d71aea22723b3eee6d7213ab1ed24e2c6a /libavcodec/exr.c | |
parent | de255793d2800822a2cfc13e30a865824daed51f (diff) | |
download | ffmpeg-ee34b6549f76f5ad0719b48debffd7e1c292701e.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/exr.c')
0 files changed, 0 insertions, 0 deletions