2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/staging/wilc1000
Colin Ian King 6e9f6b54c5 staging: wilc1000: fix incorrect copy of pmkid data
The pmkid data is meant be be copied to the previous item in the
pmkidlist, however the code is just copying the data to itself because
the src index into pmkidlist is the same as the dst index into pmkidlist.
Fix this with i + 1 instead of i.

Detected by CoverityScan,CID#13339465 ("Overlapping buffer in memory copy")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-17 15:21:18 +09:00
..
coreconfigurator.c Staging: wilc1000: Compress return logic into one line 2016-10-16 10:27:34 +02:00
coreconfigurator.h staging: wilc1000: Fixes camel-casing in wilc_gnrl_info_received 2017-03-09 14:52:22 +01:00
host_interface.c staging: wilc1000: Remove useless cast. 2017-03-09 14:55:09 +01:00
host_interface.h staging: wilc1000: Remove unnecessary extern variables. 2016-10-17 09:54:15 +02:00
Kconfig staging: wilc1000: removes WIRELESS_EXT 2016-03-28 07:30:36 -07:00
linux_mon.c staging: wilc1000: use reset to set mac header 2016-12-03 15:49:16 -05:00
linux_wlan.c scripts/spelling.txt: add "deintialize(d)" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
Makefile staging: wilc1000: message_queue: Move code to host interface 2016-06-25 14:39:53 -07:00
TODO drivers: wilc1000: remove references to semaphores 2016-08-21 17:27:16 +02:00
wilc_debugfs.c staging:wilc1000:wilc_debugfs.c Removes multiple blank lines 2017-01-16 18:10:25 +01:00
wilc_sdio.c Staging:wilc1000:wilc_sdio: Modified comment style to preferred kernel comment style 2017-03-09 14:43:47 +01:00
wilc_spi.c staging: wilc1000: Remove unnecessary brackets 2017-03-16 11:47:41 +09:00
wilc_wfi_cfgoperations.c staging: wilc1000: fix incorrect copy of pmkid data 2017-03-17 15:21:18 +09:00
wilc_wfi_cfgoperations.h Staging: wilc1000: Remove unused function WILC_WFI_update_stats 2016-02-20 14:43:48 -08:00
wilc_wfi_netdevice.h staging: wilc1000: Remove unused function wilc_lock_timeout 2016-10-25 10:53:27 +02:00
wilc_wlan_cfg.c staging: wilc1000: Replaced comparison to NULL statements 2016-03-28 07:30:36 -07:00
wilc_wlan_cfg.h staging: wilc1000: wilc_wlan_cfg_init: changes unused argument 2016-02-22 11:48:19 -08:00
wilc_wlan_if.h drivers: wilc1000: remove references to semaphores 2016-08-21 17:27:16 +02:00
wilc_wlan.c staging: wilc1000: Alignment should match open parenthesis 2017-03-07 06:53:30 +01:00
wilc_wlan.h staging: wilc1000: function prototype argument should have identifier name 2017-03-07 06:53:30 +01:00