mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 20:17:34 +00:00
fix(wpa_supplicant): Fix some coverity issues in wpa_supplicant
1. Fix leak in SoftAP while sending SAE Confirm 2. Move NULL check before pointer is getting used 3. Remove some dead code
This commit is contained in:

committed by
Shreyas Sheth

parent
3b565f017b
commit
7c21e36a42
@@ -178,6 +178,7 @@ static int auth_sae_send_confirm(struct hostapd_data *hapd,
|
||||
#ifdef ESP_SUPPLICANT
|
||||
if (sta->remove_pending) {
|
||||
reply_res = -1;
|
||||
wpabuf_free(data);
|
||||
} else {
|
||||
if (sta->sae_data)
|
||||
wpabuf_free(sta->sae_data);
|
||||
|
Reference in New Issue
Block a user