aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libutvideodec.cpp
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-02-03 19:04:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-17 19:43:18 +0100
commit3d8c51d699165b63f54af309686e27d311a16a59 (patch)
tree59af5ed30ba9ee4a997f93dff844802bb8473594 /libavcodec/libutvideodec.cpp
parentc7dc73a6c3339c525d62498964a707936ff838fc (diff)
downloadffmpeg-3d8c51d699165b63f54af309686e27d311a16a59.tar.gz
avformat/mpc8: fix hang with fuzzed file
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: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 56cc024220886927350cfc26ee695062ca7ecaf4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libutvideodec.cpp')
0 files changed, 0 insertions, 0 deletions