kgv1dec: Increase offsets array size so it is large enough.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Jan 2012 22:23:35 +0000 (23:23 +0100)
committerAlex Converse <alex.converse@gmail.com>
Tue, 6 Mar 2012 23:28:00 +0000 (15:28 -0800)
commitd5f2382d0389ed47a566ea536887af908bf9b14f
tree1e23651b423834dedcdfc17f56af9a85f1ef2e3e
parent416849f2e06227b1b4a451c392f100db1d709a0c
kgv1dec: Increase offsets array size so it is large enough.

Fixes CVE-2011-3945

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 807a045ab7f51993a2c1b3116016cbbd4f3d20d6)

Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit a02e8df973f5478ec82f4c507f5b5b191a5ecb6b)
libavcodec/kgv1dec.c