kmvc: Check palsize.
authorAlex Converse <alex.converse@gmail.com>
Thu, 26 Jan 2012 16:30:49 +0000 (17:30 +0100)
committerReinhard Tartler <siretart@tauware.de>
Mon, 28 May 2012 21:46:08 +0000 (23:46 +0200)
commit5629c3910188182a23ca0d46abd5a2350f502c58
treeb79ea139abc6f0412c178a6f3fe577c4ae428614
parent7867cbaf6c2583642c8f3a909a9c6f00ec01b162
kmvc: Check palsize.

Fixes: CVE-2011-3952

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Based on fix by Michael Niedermayer
(cherry picked from commit 386741f887714d3e46c9e8fe577e326a7964037b)
(cherry picked from commit 416849f2e06227b1b4a451c392f100db1d709a0c)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit e7392dc349291eb94379d8cfb7ef73d32a768858)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/kmvc.c