Staging: vt6655-6: potential info leak in private_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Sep 2011 06:23:22 +0000 (09:23 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:43:44 +0000 (17:43 -0700)
Smatch has a new check for Rosenberg type information leaks where
structs are copied to the user with uninitialized stack data in them.

In this path, the .uLinkRate member doesn't get initialized so I've
set it to zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found