diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-02-03 19:04:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-04 00:39:56 +0100 |
commit | 56cc024220886927350cfc26ee695062ca7ecaf4 (patch) | |
tree | 2d89fb4c706d325270494f648d0d29584edcd52a /libavdevice/alsa-audio-dec.c | |
parent | e93d3a22cb53bd88f551c1ad05cf3db3d453a396 (diff) | |
download | ffmpeg-56cc024220886927350cfc26ee695062ca7ecaf4.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>
Diffstat (limited to 'libavdevice/alsa-audio-dec.c')
0 files changed, 0 insertions, 0 deletions