Commit 7e0e3a71 authored by Johannes Berg's avatar Johannes Berg Committed by Carlos Llamas
Browse files

UPSTREAM: wifi: ieee80211: check for NULL in ieee80211_mle_size_ok()



For simplicity, we may want to pass a NULL element, and
while we should then pass also a zero length, just be a
bit more careful here.

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/20240318184907.4d983653cb8d.Ic3ea99b60c61ac2f7d38cb9fd202a03c97a05601@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Bug: 338806915
Change-Id: I670587ec28eff3506c6b47fd478252bbd51f9855
(cherry picked from commit b7793a1a)
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
parent 81f7209d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment