From 5004647fb1759988314bb530ab6d25e0d1d23aeb Mon Sep 17 00:00:00 2001 From: Shreyas Sheth Date: Wed, 6 Sep 2023 12:58:33 +0530 Subject: [PATCH] fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1 --- components/esp_wifi/lib | 2 +- components/wpa_supplicant/src/common/sae.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 33a3dd2b54..a23258a3fe 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 33a3dd2b545499e8f1d25e5fc6f44de35a45931b +Subproject commit a23258a3fe54bc1833234070dcd2c7a1e1621ebb diff --git a/components/wpa_supplicant/src/common/sae.c b/components/wpa_supplicant/src/common/sae.c index 3d04995327..6945606fbe 100644 --- a/components/wpa_supplicant/src/common/sae.c +++ b/components/wpa_supplicant/src/common/sae.c @@ -77,7 +77,6 @@ int sae_set_group(struct sae_data *sae, int group) /* Unsupported group */ wpa_printf(MSG_DEBUG, "SAE: Group %d not supported by the crypto library", group); - os_free(tmp); return ESP_FAIL; }