diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-10 16:43:00 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:43 +0200 |
commit | 5c53ce6bae5575fc708798221dba9e856a8caa8f (patch) | |
tree | 03587e554146508d9a705a8afc3691ddccb90c52 /loader/qtx | |
parent | 5e95024317add19c376114c40a87e69d969c69ce (diff) | |
download | mpv-5c53ce6bae5575fc708798221dba9e856a8caa8f.tar.bz2 mpv-5c53ce6bae5575fc708798221dba9e856a8caa8f.tar.xz |
demux_ts: fix crash on broken packets
Check packet size before memmove to avoid crashes e.g. if we recognized the
wrong type and subtracted more header bytes than there are overall bytes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31669 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/qtx')
0 files changed, 0 insertions, 0 deletions