4xm: check bitstream_size boundary before using it
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 10 Jun 2013 14:37:43 +0000 (16:37 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sun, 30 Jun 2013 14:25:06 +0000 (16:25 +0200)
commit6a4f1e784e39c82194a485995906d9917d4619b2
treef44681d9986d9175d9eecf8c191740011d99bf48
parente5679444fd60d0b5a32ad4233e65d3a85300a952
4xm: check bitstream_size boundary before using it

Prevent buffer overread.

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

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Conflicts:
libavcodec/4xm.c
libavcodec/4xm.c