Skip to content

Commit 34e5669

Browse files
committed
Merge branch 'bugfix/wpa3_init_crash_v5.3' into 'release/v5.3'
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer (v5.3) See merge request espressif/esp-idf!31540
2 parents 11d9465 + 33e6eaa commit 34e5669

File tree

1 file changed

+1
-0
lines changed
  • components/wpa_supplicant/esp_supplicant/src

1 file changed

+1
-0
lines changed

components/wpa_supplicant/esp_supplicant/src/esp_wpa3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ int wpa3_hostap_auth_init(void *data)
564564
&g_wpa3_hostap_task_hdl) != pdPASS) {
565565
wpa_printf(MSG_ERROR, "wpa3_hostap_auth_init: failed to create task");
566566
os_queue_delete(g_wpa3_hostap_evt_queue);
567+
g_wpa3_hostap_evt_queue = NULL;
567568
return ESP_FAIL;
568569
}
569570

0 commit comments

Comments
 (0)