]> git.sesse.net Git - ffmpeg/commit
avformat/rsd: Check size and start before computing duration
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 21 Oct 2020 16:15:53 +0000 (18:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 30 Oct 2020 16:49:51 +0000 (17:49 +0100)
commitc79d8a685182a8d8735887399bf0f3742b020597
tree07988300ce122635480453c71eb9dac579537c39
parentb848baef0dc42d97a5c1ab975cc8994a265b88ae
avformat/rsd: Check size and start before computing duration

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