lzo: Handle integer overflow
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 19 Jun 2014 21:26:58 +0000 (23:26 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 25 Jun 2014 13:37:01 +0000 (15:37 +0200)
commit6d899d0206e91a3a74680b47ec06ef1dbc151c21
tree68024955534e4cfd23d213dad8d8fa78df8229cb
parent6672f672d98cf4887e13321b6f67682cfd1273b4
lzo: Handle integer overflow

get_len can overflow for specially crafted payload.

Reported-By: Don A. Baley <donb@securitymouse.com>
CC: libav-stable@libav.org
(cherry picked from commit ccda51b14c0fcae2fad73a24872dce75a7964996)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavutil/lzo.c