4xm: validate the buffer size before parsing it
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 7 Jun 2013 14:16:46 +0000 (16:16 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 16 Jun 2013 13:54:15 +0000 (15:54 +0200)
commit6ddc1eb037042da814a62aa7f54517a897f0bdad
tree5766215eec500c98b9e9fc4fb258a9f37dcfc15f
parentded74ab5d1ccfef375090a0e828fa123c589083c
4xm: validate the buffer size before parsing it

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit de2e5777e225e75813daf2373c95e223651fd89a)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/4xm.c