From: Dan Carpenter Date: Mon, 24 Jun 2013 16:12:09 +0000 (+0300) Subject: staging: vt6655: info leak in ioctl X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34fbb97c07fce301164d5902639d04ce4f6f3fd5;p=pandora-kernel.git staging: vt6655: info leak in ioctl The SCmdLinkStatus struct has a couple holes. There is one between ->bLink and ->wBSSType, and another between ->abySSID and ->uChannel. I've added a memset() to initialize the struct to zero. Since we don't need to clear abySSID any more so I've removed that memset. It was wrong anyway: abySSID has "SSID_MAXLEN + 2" (34) bytes, not "WLAN_SSID_MAXLEN + 1" (33). Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed