aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xiph.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-02-03 19:04:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-13 20:48:08 +0100
commit2515de3b1534ac92762e39d914fcad557860d3d8 (patch)
treedcd2bdc196d99b3f701ba79d2c0d2509793903e0 /libavcodec/xiph.c
parente2e835f017d6d21fe0e042b1700ff095fc8c4941 (diff)
downloadffmpeg-2515de3b1534ac92762e39d914fcad557860d3d8.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/xiph.c')
0 files changed, 0 insertions, 0 deletions