Correct SSID copy length during WPS scan

This commit is contained in:
Kapil Gupta
2022-06-17 15:34:25 +05:30
committed by BOT
parent e234a412a8
commit 7fae6ce4f2
2 changed files with 3 additions and 3 deletions

View File

@@ -1104,7 +1104,7 @@ static struct wpabuf * eap_peap_process(struct eap_sm *sm, void *priv,
}
if (tls_connection_established(sm->ssl_ctx, data->ssl.conn)) {
char label[24];
char label[24] = {0};
wpa_printf(MSG_DEBUG, "EAP-PEAP: TLS done, proceed to Phase 2");
os_free(data->key_data);
/* draft-josefsson-ppext-eap-tls-eap-05.txt