Commit 7296e56
wifi: rtw89: check return value of ieee80211_probereq_get() for RNR
[ Upstream commit 630d5d8 ]
The return value of ieee80211_probereq_get() might be NULL, so check it
before using to avoid NULL pointer access.
Addresses-Coverity-ID: 1529805 ("Dereference null return value")
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240919081216.28505-2-pkshih@realtek.com
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent f2a107b commit 7296e56
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6074 | 6074 | | |
6075 | 6075 | | |
6076 | 6076 | | |
| 6077 | + | |
| 6078 | + | |
| 6079 | + | |
6077 | 6080 | | |
6078 | 6081 | | |
6079 | 6082 | | |
| |||
0 commit comments