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>
Mon, 30 Jan 2012 18:14:06 +0000 (10:14 -0800)
commit6a89b41d9780325ba6d89a37f2aeb925aa68e6a3
treef034f2699785b341112f8ed55a3e4711a61b607c
parentb7d3dd907f51c1b86c5aad7e2ec4870da53e095e
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>
libavformat/nsvdec.c