pgssubdec: check RLE size before copying. Fix out of array accesses
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Nov 2012 15:41:28 +0000 (16:41 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Nov 2012 15:46:51 +0000 (16:46 +0100)
commitc0d68be555f5858703383040e04fcd6529777061
tree8ed6dfb5d04ddaacda587a4b7703517641959ef7
parentbc08ca841e66134a3b0d900cf152b4a263fa6545
pgssubdec: check RLE size before copying. Fix out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pgssubdec.c