aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/utils.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-02-03 19:04:12 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-04 00:48:49 +0100
commitbdc4abd694a3234ef76d1f41a06e940d8fc9c0ed (patch)
tree2f5e235e47bbfe53a274543c749bb60a8afea6a0 /libavutil/utils.c
parent5d7320be52c37e511dec27127e3274c76f0d9f6a (diff)
downloadffmpeg-bdc4abd694a3234ef76d1f41a06e940d8fc9c0ed.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 'libavutil/utils.c')
0 files changed, 0 insertions, 0 deletions