pcx: Do not overread source buffer in pcx_rle_decode
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 29 Jun 2013 04:37:32 +0000 (06:37 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 21 Sep 2013 13:11:27 +0000 (15:11 +0200)
commit9c3c08ba984ab0447a65a1e8417f01bea4dccf70
tree3f288ba2ea2b3bdf06fabe597890c30119703616
parent9c05debdcd75fe3bcfbec3f200334f404ebcea56
pcx: Do not overread source buffer in pcx_rle_decode

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 3abde1a3b49cf299f2aae4eaae6b6cb5270bdc22)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/pcx.c