]> git.sesse.net Git - ffmpeg/commit
avformat/utils: Fix integer overflow with duration_gcd in ff_rfps_calculate()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 3 Mar 2021 23:15:53 +0000 (00:15 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 29 Mar 2021 20:19:39 +0000 (22:19 +0200)
commit6dc6e1cce0ec0aadab27e8b3fd3fc87c93c3acd6
tree6bbeb419dc755a805ff81ef66b899e170d11e44b
parent7b4510d2a875f666ed6d990f03331a3c60aca53f
avformat/utils: Fix integer overflow with duration_gcd in ff_rfps_calculate()

Fixes: signed integer overflow: 136323327 * 281474976710656 cannot be represented in type 'long'
Fixes: 30913/clusterfuzz-testcase-minimized-ffmpeg_dem_IVF_fuzzer-5753392189931520
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c