linux-stable/drivers/staging
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
..
android
board
clocking-wizard
comedi
dgnc
emxx_udc
fbtft
fsl-dpaa2
fsl-mc
fwserial
gdm724x
goldfish
greybus
gs_fpgaboot
iio
ipx
ks7010
lustre
media
most
mt29f_spinand
mt7621-dma
mt7621-dts
mt7621-eth
mt7621-gpio
mt7621-mmc
mt7621-pci
mt7621-pinctrl
mt7621-spi
ncpfs
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
rtl8188eu
rtl8192e
rtl8192u
rtl8712
rtl8723bs
rtlwifi
rts5208
skein
sm750fb
speakup
typec
unisys
vboxvideo
vc04_services
vme
vt6655
vt6656
wilc1000 staging: wilc1000: fix NULL pointer exception in host_int_parse_assoc_resp_info() 2018-04-23 15:57:38 +02:00
wlan-ng
xgifb
Kconfig
Makefile