linux/drivers/staging/wilc1000
Ajay Singh b00e2fd104 staging: wilc1000: fix NULL pointer exception in host_int_parse_assoc_resp_info()
Commit fe014d4e6b (staging: wilc1000: free memory allocated for general info
message from firmware) introduced a bug by using wrong source address in
kmemdup(). 'conn_info.req_ies' is used for source address in kempdup()
instead of 'hif_drv->usr_conn_req.ies'.

This commit fixes the NULL pointer dereference issue in
host_int_parse_assoc_resp_info() by using the correct source address in
kmemdup().

Fixes: fe014d4e6b (staging: wilc1000: free memory allocated for general info message from firmware)
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-23 15:57:38 +02:00
..
coreconfigurator.c staging: wilc1000: rename variables prefix using datatype 'u8' 2018-03-14 12:59:51 +01:00
coreconfigurator.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
host_interface.c staging: wilc1000: fix NULL pointer exception in host_int_parse_assoc_resp_info() 2018-04-23 15:57:38 +02:00
host_interface.h staging: wilc1000: rename wilc_remove_key() parameters to avoid camelCase 2018-02-19 18:12:53 +01:00
Kconfig
linux_mon.c staging: wilc1000: remove unused return variable 2018-03-28 13:39:21 +02:00
linux_wlan.c staging: wilc1000: Destroy mutex object in deinitialization 2018-03-19 19:45:31 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO
wilc_debugfs.c staging: wilc1000: add SPDX identifiers to all wilc100 files 2017-11-28 13:20:46 +01:00
wilc_sdio.c staging: wilc1000: fix line over 80 characters in sdio_clear_int_ext() 2018-02-16 17:31:22 +01:00
wilc_spi.c staging: wilc1000: fix line over 80 chars in wilc_spi_clear_int_ext() 2018-02-16 15:31:30 +01:00
wilc_wfi_cfgoperations.c staging: wilc1000: replace switch statement by simple if condition 2018-03-22 18:23:10 +01:00
wilc_wfi_cfgoperations.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wilc_wfi_netdevice.h staging: wilc1000: rename WILC_WFI_mgmt_rx() to avoid camelCase 2018-03-01 17:22:28 +01:00
wilc_wlan_cfg.c staging: wilc1000: fix line over 80 chars in wilc_wlan_cfg_get_wid_value() 2018-02-16 17:31:22 +01:00
wilc_wlan_cfg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wilc_wlan_if.h staging: wilc1000: removed unnecessary defined enums typedef 2018-01-23 11:47:29 +01:00
wilc_wlan.c staging: wilc1000: fix line over 80 char in wilc_wlan_handle_rxq() 2018-03-06 04:10:46 -08:00
wilc_wlan.h staging: wilc1000: move multiple definition of same macro to common header 2018-03-01 17:22:28 +01:00