aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvbsub_parser.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-02-03 19:04:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-06-10 02:13:08 +0200
commit2e6b1915cb32af835129f78856cb7e7b382338db (patch)
tree969e0b051fd3e24c9cb66b3103067756d915ba0e /libavcodec/dvbsub_parser.c
parent64857ecd68b7aad7dc6cf4e9a26d46250315ebb0 (diff)
downloadffmpeg-2e6b1915cb32af835129f78856cb7e7b382338db.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/dvbsub_parser.c')
0 files changed, 0 insertions, 0 deletions