]> git.sesse.net Git - ffmpeg/commit
avformat/mvdec: Fix integer overflow with billions of channels
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Jun 2020 23:01:53 +0000 (01:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 27 Jun 2020 10:43:51 +0000 (12:43 +0200)
commitb6fbbe08c325415cc784df296058beb6604f0b9c
tree4e8a72c5c87c407967016a22c693cc3f5f571769
parent42fdf402a79a1af4c500757106abfb9154bbcd42
avformat/mvdec: Fix integer overflow with billions of channels

Fixes: signed integer overflow: 1394614304 * 2 cannot be represented in type 'int'
Fixes: 23491/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5697377020411904
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mvdec.c