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, 8 Apr 2012 09:23:19 +0000 (11:23 +0200)
commit1edf848a81464afd514afbbbcb97b471d334e14a
treef1202fa582a280efce78b0e912420cc7bd6544f4
parentf70c720d42d0e222b70fc580a36832a7b0ef89fa
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>
(cherry picked from commit 65beb8c1173906b0541442713cb29e8ba44c47ef)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/nsvdec.c