mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-26 09:32:34 +01:00
ttls: Fix truncated before the last format character
This commit is contained in:
parent
da70b2d1c2
commit
1ee7de15c8
@ -416,7 +416,7 @@ static bool eap_ttls_phase2_non_eap_load_settings(struct phase2_method *phase2,
|
||||
const char *prefix)
|
||||
{
|
||||
struct phase2_credentials *credentials;
|
||||
char setting[64];
|
||||
char setting[72];
|
||||
|
||||
credentials = l_new(struct phase2_credentials, 1);
|
||||
|
||||
@ -1026,8 +1026,8 @@ static int eap_ttls_check_tunneled_auth_settings(struct l_settings *settings,
|
||||
struct l_queue **out_missing)
|
||||
{
|
||||
const struct eap_secret_info *secret;
|
||||
char identity_key[64];
|
||||
char password_key[64];
|
||||
char identity_key[72];
|
||||
char password_key[72];
|
||||
|
||||
L_AUTO_FREE_VAR(char *, identity);
|
||||
L_AUTO_FREE_VAR(char *, password) = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user