diff options
author | Pooventhiran G <pooventh@codeaurora.org> | 2020-10-27 06:24:21 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2020-10-27 09:39:45 (GMT) |
commit | 0577e8e679c3c74daaf927713c201998a85d8c2b (patch) | |
tree | 06ac6f2acf780b184d9b9278182b8a23faeea3b5 /wpa_supplicant/wpa_gui-qt4 | |
parent | 02289ab537e94d47f01156b672c697ce78cdbab0 (diff) | |
download | hostap-0577e8e679c3c74daaf927713c201998a85d8c2b.zip hostap-0577e8e679c3c74daaf927713c201998a85d8c2b.tar.gz hostap-0577e8e679c3c74daaf927713c201998a85d8c2b.tar.bz2 |
nl80211: Check for proper nlmsg allocation in send_and_recv_msgs_owner()
When nlmsg allocation fails, nl80211_drv_msg() returns NULL and the call
to send_and_recv_msgs_owner() from nl80211_leave_ibss() could have ended
up dereferencing a NULL pointer. Fix this by make
send_and_recv_msgs_owner() more consistent with other send_and_recv*()
cases that check msg == NULL internally.
Fixes: 12ea7dee311b ("nl80211: Use nl80211 control port for receiving EAPOL frames")
Signed-off-by: Pooventhiran G <pooventh@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/wpa_gui-qt4')
0 files changed, 0 insertions, 0 deletions