nsvdec: Fix use of uninitialized streams.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Jan 2012 21:20:26 +0000 (22:20 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Apr 2012 16:33:28 +0000 (18:33 +0200)
commit65beb8c1173906b0541442713cb29e8ba44c47ef
tree5788a537d91bf01d4177a8970fab7ec1b95018eb
parentf375e19f37c7d1738cde70e43c3f64c6ab68c928
nsvdec: Fix use of uninitialized streams.

Fixes CVE-2011-3940 (Out of bounds read resulting in out of bounds write)

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

Signed-off-by: Alex Converse <alex.converse@gmail.com>
(cherry picked from commit 6a89b41d9780325ba6d89a37f2aeb925aa68e6a3)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/nsvdec.c