]> git.sesse.net Git - ffmpeg/commit
avformat/mov: Use av_mul_q() to avoid integer overflows
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 22 Nov 2020 18:13:01 +0000 (19:13 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 Feb 2021 22:34:29 +0000 (23:34 +0100)
commit4f70e1ec0cfa8ae24b224faf522c1d6ca95a42f6
treeb5f4bc4095e75bab010da3f4831e835804ab5539
parent4dfb7ff528c02afbafba14676c139ecb82164c44
avformat/mov: Use av_mul_q() to avoid integer overflows

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