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 12:40:56 +0000 (14:40 +0200)
commite7f5dacd55deeee8a866020b8463f829b2c5971f
treea851758f6bd477d9989b74beede947ddf8314e53
parent9c7321e2b8981ec867294309e9cf3833055df78f
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>
Conflicts:
libavutil/lzo.c
libavutil/lzo.c