]> git.sesse.net Git - ffmpeg/commit
avformat/electronicarts: Check for EOF in each iteration of the loop in ea_read_packet()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 24 Oct 2020 17:24:30 +0000 (19:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 25 Oct 2020 08:05:01 +0000 (09:05 +0100)
commit857aba7c45faf0335ad91ecabc0bce8b94320758
treeebfb71f2e89f86c2fec644b30a35da0bcca11fce
parent6e64d89410c1833a240f4ff3ea47e8786ea49b79
avformat/electronicarts: Check for EOF in each iteration of the loop in ea_read_packet()

Fixes: timeout(>20sec -> 1ms)
Fixes: 26526/clusterfuzz-testcase-minimized-ffmpeg_dem_EA_fuzzer-5672328069120000
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/electronicarts.c