diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-08-06 21:22:37 +0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-16 17:16:33 +0200 |
commit | 7f0926498c59f87c05fcdc1994d9701d9d5f5bd4 (patch) | |
tree | 3070516230c5dc5e8d9e35fc2ec722787f4d31f5 /libmpdemux | |
parent | 202ea8214ef1db693405b75559868523ca725ac0 (diff) |
ad_ffmpeg: add sanity check against decoder overreads
The libavcodec Musepack SV8 decoder returned 2 bytes consumed for 1
byte input, which triggered a crash due to negative input packet size
later. Add a sanity check to prevent crashes with this type of minor
decoder overreads. Also add a check to parser consumed data.
Diffstat (limited to 'libmpdemux')
0 files changed, 0 insertions, 0 deletions