mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
These are combined upstream patches 2015-2, 2015-3, 2015-4 They address the following security advisories: * CVE-2015-4141 * CVE-2015-4142 * CVE-2015-4143 * CVE-2015-4144 * CVE-2015-4145 * CVE-2015-4146 These advisories also apply to net/hostapd PR: 200568 Submitted by: Jason Unovitch
12 lines
373 B
C
12 lines
373 B
C
--- src/ap/wmm.c.orig 2015-03-15 17:30:39 UTC
|
|
+++ src/ap/wmm.c
|
|
@@ -274,6 +274,9 @@ void hostapd_wmm_action(struct hostapd_d
|
|
return;
|
|
}
|
|
|
|
+ if (left < 0)
|
|
+ return; /* not a valid WMM Action frame */
|
|
+
|
|
/* extract the tspec info element */
|
|
if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
|
|
hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
|