Staging: vt6655-6: potential info leak in private_ioctl()
commitde0920b1fedb4d694fe4732cfc3cccfcd4743f84
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Sep 2011 06:23:22 +0000 (23 09:23 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:43:44 +0000 (26 17:43 -0700)
tree599e30f3d96b9855c3474d033a144cd6e3576acb
parent43664e14a029ab458cba8af43c65853b079b282f
Staging: vt6655-6: potential info leak in private_ioctl()

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>
drivers/staging/vt6655/ioctl.c
drivers/staging/vt6656/ioctl.c