2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 01:04:08 +08:00
linux-next/drivers/staging/wlan-ng
Dan Carpenter 1ca1a92cc6 Staging: wlan-ng: memsetting the wrong amount of data
p80211item_pstr6_t is the size of "msg1.bssid" (16 bytes) but
msg1.bssid.data is type p80211pstr6_t and it is smaller (7 bytes).  We
had just set that memory to zeroes earlier and now we're writing over it
with 0xff because we're writing past the end of the struct.

I don't know if this actually causes a problem.  It may be that we
initialize the extra 0xff bytes correctly later.  But the current code
is obviously wrong and we should fix it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-24 12:03:13 -08:00
..
cfg80211.c Staging: wlan-ng: memsetting the wrong amount of data 2012-02-24 12:03:13 -08:00
hfa384x_usb.c staging: wlan-ng: Remove NULL check before kfree 2011-03-14 11:57:38 -07:00
hfa384x.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
Kconfig Staging: fix wlan-ng depends 2010-06-24 14:15:07 -07:00
Makefile Staging: wlan-ng: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:43 -07:00
p80211conv.c Staging: wlan-ng: fix 2 space coding style issues 2011-01-31 14:12:18 -08:00
p80211conv.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
p80211hdr.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
p80211ioctl.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
p80211meta.h Staging: wlan-ng: fix checkpatch issues in headers. 2010-08-02 18:20:04 -07:00
p80211metadef.h
p80211metastruct.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
p80211mgmt.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
p80211msg.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
p80211netdev.c staging: wlan-ng: p80211netdev.c: fixed checkpatch error 2012-02-24 11:59:57 -08:00
p80211netdev.h Staging: wlan-ng: fixed coding style issues in p80211netdev.h 2010-11-09 16:37:16 -08:00
p80211req.c Staging: wlan-ng: remove typedef in p80211hdr.h 2010-08-02 18:21:30 -07:00
p80211req.h
p80211types.h Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
p80211wep.c
prism2fw.c Staging: wlan-ng: fix brace coding style issue in prism2fw.c 2011-06-28 14:31:16 -07:00
prism2mgmt.c Staging: wlan-ng: cap the ssid length 2012-02-09 09:51:47 -08:00
prism2mgmt.h
prism2mib.c Staging: wlan-ng: fix checkpatch issues in headers. 2010-08-02 18:20:04 -07:00
prism2sta.c Remove unneeded version.h include from drivers/staging/wlan-ng/prism2sta.c 2011-07-05 10:39:38 -07:00
prism2usb.c USB: convert drivers/staging/* to use module_usb_driver() 2011-11-18 09:42:11 -08:00
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.