nsvdec: Fix use of uninitialized streams.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Jan 2012 21:20:26 +0000 (22:20 +0100)
committerAlex Converse <alex.converse@gmail.com>
Tue, 6 Mar 2012 23:28:00 +0000 (15:28 -0800)
commitffdc41f0395f74cb8844361d2154784ce65e8fdd
treea80d0dc67b2a2c220b2296b80b5c79bfdbabbd61
parentca7e97bdcf0d19c69293de08f5956d1431ee461f
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)
libavformat/nsvdec.c