linux/drivers/net/wireless
Dan Carpenter f483039cf5 rt2x00: use simple_read_from_buffer()
The problem with this copy_to_user() calls is that they don't ensure
that "size" is less than the "length" which the user provided.

Obviously, this is debugfs and "size" is normally going to be very small
so it probably doesn't matter, but this is the correct thing to do.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-08-31 18:47:29 +03:00
..
admtek
ath Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git 2018-08-28 19:39:22 +03:00
atmel atmel: Replace mdelay() with msleep() in probe_atmel_card() 2018-07-31 10:25:33 +03:00
broadcom brcmfmac: add 4-way handshake offload detection for FT-802.1X 2018-08-31 18:44:41 +03:00
cisco airo: remove unused variables len and dev and clean up formatting 2018-07-31 10:17:19 +03:00
intel iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules 2018-08-31 11:38:42 +03:00
intersil orinoco: remove unused array encaps_hdr and macro ENCAPS_OVERHEAD 2018-08-31 18:45:19 +03:00
marvell mwifex: free rx_cmd skb in suspended state 2018-08-31 18:46:53 +03:00
mediatek mt76x2u: Add support for Alfa AWUS036ACM 2018-08-31 18:43:04 +03:00
quantenna qtnfmac: implement basic WoWLAN support 2018-08-02 21:55:49 +03:00
ralink rt2x00: use simple_read_from_buffer() 2018-08-31 18:47:29 +03:00
realtek rtl8187: Fix warning generated when strncpy() destination length matches the sixe argument 2018-08-31 18:46:19 +03:00
rsi rsi: remove redundant variables bss, wh and temp_flash_content 2018-08-09 18:13:46 +03:00
st cw1200: Remove extra parentheses 2018-08-31 18:42:25 +03:00
ti Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
zydas zd1211rw: use irqsave() in USB's complete callback 2018-06-27 19:12:43 +03:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: Add support for HE 2018-07-09 10:21:28 +02:00
mac80211_hwsim.h
Makefile
ray_cs.c ray_cs: remove redundant pointer 'p' 2018-07-31 10:19:50 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
wl3501_cs.c
wl3501.h