]> bbs.cooldavid.org Git - net-next-2.6.git/commit
staging: stradis: fix error handling and information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 10 Oct 2010 17:28:51 +0000 (21:28 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Nov 2010 21:24:13 +0000 (13:24 -0800)
commitea07a9f2557b8ea99a0cdd778a5d94a7495bb049
treef90e84e0fd92803297814adbc04ec43ca8a7d1d2
parentc888d4e7b2644c7ff17098b0b521c29b98e0abd0
staging: stradis: fix error handling and information leak to userland

configure_saa7146() didn't free irq on error.
saa_open() didn't decrease reference count of saa on error.
saa_ioctl() leaked information from the kernel stack to userland as it
didn't fill copied structs with zeros.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/stradis/stradis.c