vqa: check palette chunk size before reading data.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 21 Mar 2012 22:19:31 +0000 (15:19 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 22 Mar 2012 19:17:14 +0000 (12:17 -0700)
commit75d7975268394f4f16294b68ec6d6d5ac30da3ac
tree6c1810bd5095a0a2f02166690bdd8d32cfe8eab1
parentd462949974668ffb013467d12dc4934b9106fe19
vqa: check palette chunk size before reading data.

Prevents overreads beyond buffer boundaries.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/vqavideo.c