Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102690483
D37546.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37546.diff
View Options
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -436,7 +436,7 @@
const struct ieee80211_frame_min *, uint16_t keyix,
const char *func, int line);
struct ieee80211_node *_ieee80211_find_txnode(struct ieee80211vap *,
- const uint8_t *,
+ const uint8_t macaddr[IEEE80211_ADDR_LEN],
const char *func, int line);
#define ieee80211_free_node(ni) \
_ieee80211_free_node(ni, __func__, __LINE__)
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -459,8 +459,8 @@
enum ieee80211_notify_cac_event);
void ieee80211_notify_node_deauth(struct ieee80211_node *);
void ieee80211_notify_node_auth(struct ieee80211_node *);
-void ieee80211_notify_country(struct ieee80211vap *, const uint8_t [],
- const uint8_t cc[2]);
+void ieee80211_notify_country(struct ieee80211vap *,
+ const uint8_t [IEEE80211_ADDR_LEN], const uint8_t cc[2]);
void ieee80211_notify_radio(struct ieee80211com *, int);
void ieee80211_notify_ifnet_change(struct ieee80211vap *);
#endif /* _NET80211_IEEE80211_PROTO_H_ */
diff --git a/sys/net80211/ieee80211_scan.c b/sys/net80211/ieee80211_scan.c
--- a/sys/net80211/ieee80211_scan.c
+++ b/sys/net80211/ieee80211_scan.c
@@ -607,7 +607,8 @@
* Mark a scan cache entry after a successful associate.
*/
void
-ieee80211_scan_assoc_success(struct ieee80211vap *vap, const uint8_t mac[])
+ieee80211_scan_assoc_success(struct ieee80211vap *vap,
+ const uint8_t mac[IEEE80211_ADDR_LEN])
{
struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan;
@@ -623,7 +624,7 @@
*/
void
ieee80211_scan_assoc_fail(struct ieee80211vap *vap,
- const uint8_t mac[], int reason)
+ const uint8_t mac[IEEE80211_ADDR_LEN], int reason)
{
struct ieee80211_scan_state *ss = vap->iv_ic->ic_scan;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 10:07 PM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14665482
Default Alt Text
D37546.diff (1 KB)
Attached To
Mode
D37546: net80211: Fix mismatches in array bounds.
Attached
Detach File
Event Timeline
Log In to Comment