Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102154703
D32341.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
405 B
Referenced Files
None
Subscribers
None
D32341.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D32341: net80211: proper ssid length check in setmlme_assoc_adhoc()
Attached
Detach File
Event Timeline
Log In to Comment