vqavideo: check chunk sizes before reading chunks
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jan 2013 05:11:59 +0000 (06:11 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 17 Feb 2013 10:31:20 +0000 (11:31 +0100)
commitf7d18deb73d1dd1b27b2c7062c9a10d168a6c62a
tree3666f2266061387650544970cab5a56cbc888386
parent39bec05ed42e505d17877b0c23f16322f9b5883b
vqavideo: check chunk sizes before reading chunks

Fixes out of array writes

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 13093f9767b922661132a3c1f4b5ba2c7338b660)

CC: libav-stable@libav.org
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/vqavideo.c