Skip to content
Commit 1fc4a3ee authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: mesh: check element parsing succeeded



ieee802_11_parse_elems() can return NULL, so we must
check for the return value.

Fixes: 5d24828d ("mac80211: always allocate struct ieee802_11_elems")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231211085121.93dea364f3d3.Ie87781c6c48979fb25a744b90af4a33dc2d83a28@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 98849ba2
Loading
Loading
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