Skip to content
Snippets Groups Projects
Commit 80e5b06a authored by Zhu Yi's avatar Zhu Yi Committed by John W. Linville
Browse files

cfg80211: fix NULL dereference in IBSS SIOCGIWAP


This patch avoids memcpy from wdev->wext.ibss.bssid if it is NULL.
This could happen if we SIOCGIWAP before SIOCSIWAP.

Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f874011b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment