diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-10 12:44:09 -0500 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-07-10 10:25:50 +0200 |
commit | e786cc33312083382f4ca394e67e1cb58c786289 (patch) | |
tree | 5fe61280d1770d376e6ea969b55ee7ed7f795e83 /libavcodec/cavs.c | |
parent | 8c62082b5127011db0c251f6a48b2872af8c3bc6 (diff) | |
download | ffmpeg-e786cc33312083382f4ca394e67e1cb58c786289.tar.gz |
swfdec: do better validation of tag length
Avoids trying to read a packet with 0 or negative size.
Avoids a potential infinite loop due to seeking backwards.
Partially based on a patch by Michael Niedermayer.
(cherry picked from commit e70c5b034c4787377e82cab2d5565486baec0c2a)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/cavs.c')
0 files changed, 0 insertions, 0 deletions