pull/693/merge
Ilya Shipitsin 2025-01-16 13:08:57 +01:00 committed by GitHub
commit 98beda8ea2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -1432,6 +1432,11 @@ OnPassword(connection_t *c, char *msg)
param->flags |= (flags & 0x2) ? FLAG_CR_TYPE_CONCAT : FLAG_CR_TYPE_SCRV1;
param->flags |= (flags & 0x1) ? FLAG_CR_ECHO : 0;
param->str = strdup(chstr + 5);
if (!param->str)
{
WriteStatusLog(c, L"GUI> ", L"Error: Out of memory - ignoring dynamic challenge", false);
return;
}
LocalizedDialogBoxParamEx(ID_DLG_AUTH_CHALLENGE, c->hwndStatus, UserAuthDialogFunc, (LPARAM) param);
}
else if (o.auth_pass_concat_otp)