]> git.sesse.net Git - ffmpeg/commit
avformat/ifv: Check that total frames do not overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Oct 2020 21:29:42 +0000 (23:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 24 Oct 2020 17:11:12 +0000 (19:11 +0200)
commitb990148d1e6dcfed7fc0a5d2d0d7f636fcf9896b
tree689dc2fa06d862b88bdf94734f8eb76335709a65
parent4e9514e99bf77bb3d1437e992c3e08ca7d1ebc46
avformat/ifv: Check that total frames do not overflow

Fixes: Infinite loop
Fixes: 26392/clusterfuzz-testcase-minimized-ffmpeg_dem_GIF_fuzzer-5713658237419520
Fixes: 26435/clusterfuzz-testcase-minimized-ffmpeg_dem_SUBVIEWER_fuzzer-6548251853193216
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/ifv.c