kmvc: Check palsize.

Fixes: CVE-2011-3952

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Based on fix by Michael Niedermayer
This commit is contained in:
Alex Converse 2012-01-26 17:30:49 +01:00
parent c898431ca5
commit 386741f887