Staging: sb105x: info leak in mp_get_count()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 29 Oct 2013 20:01:43 +0000 (23:01 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Oct 2013 19:24:50 +0000 (12:24 -0700)
commita8b33654b1e3b0c74d4a1fed041c9aae50b3c427
treee8eeabbf41c976edce53a42c611cf2e0a5dd7d12
parent8d1e72250c847fa96498ec029891de4dc638a5ba
Staging: sb105x: info leak in mp_get_count()

The icount.reserved[] array isn't initialized so it leaks stack
information to userspace.

Reported-by: Nico Golde <nico@ngolde.de>
Reported-by: Fabian Yamaguchi <fabs@goesec.de>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/staging/sb105x/sb_pci_mp.c