diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-02-28 08:21:46 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-29 23:55:52 (GMT) |
commit | 625aeb3abac00f36efc82077d56ae278093ce467 (patch) | |
tree | a3dd76568769b846c72f1c861bd7507448583ead /drivers/staging/rtl8712 | |
parent | 7223e86d57b5aad6c7d8d92b2d3528a54d27d664 (diff) | |
download | linux-fsl-qoriq-625aeb3abac00f36efc82077d56ae278093ce467.tar.xz |
Staging: wlan-ng: still setting wrong data
In commit 1ca1a92cc6 "Staging: wlan-ng: memsetting the wrong amount of
data" I changed the code so we didn't memset() past the end of the
msg1.bssid.data[] array. Walter Harms noticed that it was weird that
we were setting the len to 6 when there were 7 elements in the array.
Pavel Roskin pointed out that the intent of the code was actually to
memset() msg1.bssid.data.data[] which is a 6 character array.
Reported-by: Walter Harms <wharms@bfs.de>
Reported-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
0 files changed, 0 insertions, 0 deletions