wmapro: check num_vec_coeffs against the actual available buffer
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 28 Jun 2013 03:23:21 +0000 (05:23 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 28 Jun 2013 11:16:35 +0000 (13:16 +0200)
commit38229362529ed1619d8ebcc81ecde85b23b45895
tree75099e81bc3a751ee9f8dc30046a29d9f2ad36a5
parent6652338f43ef623045912d7f28b61adea05d27ae
wmapro: check num_vec_coeffs against the actual available buffer

Prevent yet another buffer overwrite.

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