diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-12-10 12:44:09 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-21 01:13:10 +0200 |
commit | d46713cc7e7dfd88b813078a71ed1c29e42011ca (patch) | |
tree | a63326df854427052729313f9362d7cd333cca99 /libavformat/nutenc.c | |
parent | 9c7c2abad4a8eb56472dd5651522530855a62f3f (diff) | |
download | ffmpeg-d46713cc7e7dfd88b813078a71ed1c29e42011ca.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)
Conflicts:
libavformat/swfdec.c
Diffstat (limited to 'libavformat/nutenc.c')
0 files changed, 0 insertions, 0 deletions