mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
Fix double free with CONFIG_WPS_STRICT=y
Commit 17f6b9005641c9c44f55cda825b3a170ffa8ff04 extended the use of the concatenated WPS IE outside the CONFIG_WPS_STRICT block, but forgot to remove the old wpabuf_free(wps) call.
This commit is contained in:
parent
6a90053cdf
commit
c3b75919fa
@ -185,7 +185,6 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr,
|
||||
wpabuf_free(wps);
|
||||
return -1;
|
||||
}
|
||||
wpabuf_free(wps);
|
||||
}
|
||||
#endif /* CONFIG_WPS_STRICT */
|
||||
if (ie && ielen > 4 && ie[0] == 0xdd && ie[1] >= 4 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user