An error occurred while fetching folder content.
avformat/mpc8: fix hang with fuzzed file
wm4 authored
This can lead to an endless loop by seeking back a few bytes after each
attempted chunk read. Assuming negative sizes are always invalid, this
is easy to fix. Other code in this demuxer treats negative sizes as
invalid as well.

Fixes ticket #4262.
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 56cc0242

)
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
42b4ba4a
Name Last commit Last update