summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-04-12 11:21:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 16:57:38 +0300
commitb00e2fd10429eddf4a181ad30af010e56c2303f9 (patch)
treed2936884872f4500cae93beb7f4dfc541a7d7929 /include/uapi
parentedf5c17d866eada03b8750368a12dc3def77d608 (diff)
downloadlinux-b00e2fd10429eddf4a181ad30af010e56c2303f9.tar.xz
staging: wilc1000: fix NULL pointer exception in host_int_parse_assoc_resp_info()
Commit fe014d4e6b55 (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: fe014d4e6b55 (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>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions