diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-17 12:21:18 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-18 09:12:32 -0800 |
commit | 41afac7f7a67c634c86b1d17fc930e9183d4aaa0 (patch) | |
tree | 73cd4eb5eecbdcb87fb1eff0ef92cea7ee333ce2 /libavcodec/pngdsp.c | |
parent | 74699ac8c8b562e9f8d26e21482b89585365774a (diff) | |
download | ffmpeg-41afac7f7a67c634c86b1d17fc930e9183d4aaa0.tar.gz |
asf: prevent packet_size_left from going negative if hdrlen > pktlen.
This prevents failed assertions further down in the packet processing
where we require non-negative values for packet_size_left.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/pngdsp.c')
0 files changed, 0 insertions, 0 deletions