]> git.sesse.net Git - ffmpeg/commit
avformat/genh: Check block_align for how it will be used in SDX2_DPCM
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Oct 2020 21:40:57 +0000 (23:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Oct 2020 08:07:57 +0000 (10:07 +0200)
commitc95b47e18fdb43a4c667ae22a5d3a5ee6cf7782d
tree60b8ef55a52fe8196c49387ac6399195aac24515
parente680d50eb4feddafb2d8575b21fc5fc8764f4801
avformat/genh: Check block_align for how it will be used in SDX2_DPCM

Fixes: signed integer overflow: 19922944 * 1024 cannot be represented in type 'int'
Fixes: 26402/clusterfuzz-testcase-minimized-ffmpeg_dem_VMD_fuzzer-5745470053548032
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/genh.c