drivers/misc/sgi-gru/grufile.c: fix info leak in gru_get_config_info()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 21:05:00 +0000 (14:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jun 2013 23:29:46 +0000 (16:29 -0700)
commit282c4c0ecce9b9ac1b69acae32a4239441601405
tree5c4be94e5dcb31e36ec0dcaf9c3c0045769e7533
parent4fcc712f5c48b1e32cdbf9b9cfba42a27b2e3160
drivers/misc/sgi-gru/grufile.c: fix info leak in gru_get_config_info()

The "info.fill" array isn't initialized so it can leak uninitialized stack
information to user space.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Robin Holt <holt@sgi.com>
Acked-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-gru/grufile.c