Page MenuHomeFreeBSD

D32341.diff
No OneTemporary

D32341.diff

diff --git a/sys/net80211/ieee80211_ioctl.c b/sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c
+++ b/sys/net80211/ieee80211_ioctl.c
@@ -1591,7 +1591,7 @@
("expected opmode IBSS or AHDEMO not %s",
ieee80211_opmode_name[vap->iv_opmode]));
- if (ssid_len == 0)
+ if (ssid_len == 0 || ssid_len > sizeof(ssid))
return EINVAL;
sr = IEEE80211_MALLOC(sizeof(*sr), M_TEMP,

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 7:23 AM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14537496
Default Alt Text
D32341.diff (405 B)

Event Timeline