mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(wifi): Fix incorrect allocation of eb due to rsn ie len mismatch
This commit is contained in:
+1
-1
Submodule components/esp_wifi/lib updated: 78867d58af...84d7508bc4
@@ -132,7 +132,7 @@ struct wpa_funcs {
|
||||
bool (*wpa_ap_deinit)(void *data);
|
||||
bool (*wpa_ap_join)(void **sm, u8 *bssid, u8 *wpa_ie, u8 wpa_ie_len, u8* rsnxe, u16 rsnxe_len, bool *pmf_enable, int subtype, uint8_t *pairwise_cipher, uint8_t *rsn_selection_ie);
|
||||
bool (*wpa_ap_remove)(u8 *bssid);
|
||||
uint8_t *(*wpa_ap_get_wpa_ie)(uint8_t *len);
|
||||
uint8_t *(*wpa_ap_get_wpa_ie)(size_t *len);
|
||||
bool (*wpa_ap_rx_eapol)(void *hapd_data, void *sm, u8 *data, size_t data_len);
|
||||
void (*wpa_ap_get_peer_spp_msg)(void *sm, bool *spp_cap, bool *spp_req);
|
||||
char *(*wpa_config_parse_string)(const char *value, size_t *len);
|
||||
|
||||
@@ -147,7 +147,7 @@ bool wpa_attach(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
uint8_t *wpa_ap_get_wpa_ie(uint8_t *ie_len)
|
||||
uint8_t *wpa_ap_get_wpa_ie(size_t *ie_len)
|
||||
{
|
||||
struct hostapd_data *hapd = (struct hostapd_data *)esp_wifi_get_hostap_private_internal();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user