diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-06-24 19:12:09 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-24 15:56:10 -0700 |
commit | 34fbb97c07fce301164d5902639d04ce4f6f3fd5 (patch) | |
tree | 60f53e9a37203c9b3c5fa6a36c204f62194f5291 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 81a589555f4951d4b01fb66c0dc2092fa1b6c4ac (diff) |
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 <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions