diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-11-05 21:45:31 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-08 19:45:12 +0100 |
commit | 0411b1928965050a940155984a16ad82fe462fc1 (patch) | |
tree | f0b653c446eb9c832eb017c97d64bd1b557a4c4f /libavutil/crc.h | |
parent | fd30240e98eb7e4ebdae26c17f9e7e49c99de709 (diff) | |
download | ffmpeg-0411b1928965050a940155984a16ad82fe462fc1.tar.gz |
av_lzo1x_decode: properly handle negative buffer length.
Treating them like 0 is safest, current code would invoke
undefined pointer arithmetic behaviour in this case.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit b9242fd12f4be4a79e31fd0aa125ab8a48226896)
Diffstat (limited to 'libavutil/crc.h')
0 files changed, 0 insertions, 0 deletions