diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-27 21:51:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-09 22:02:19 +0200 |
commit | 2c45037a256c1f53ef46985819ab37215835605d (patch) | |
tree | 8795d925509f1aaa3a0ac48ccc2eaa74f470a053 /libavcodec | |
parent | 7769ab9393e1a8918836da0344a9624ed2eaacb9 (diff) | |
download | ffmpeg-2c45037a256c1f53ef46985819ab37215835605d.tar.gz |
avformat/iff: check size against INT64_MAX
Bigger sizes are misinterpreted as negative numbers by the API
Fixes: infinite loop
Fixes: 26611/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-4890614975692800
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 f291cd681b1235e150464ad83974d60d6879b492)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions