diff --git a/contrib/win32/win32compat/ssh-agent/authagent-request.c b/contrib/win32/win32compat/ssh-agent/authagent-request.c index a548bcf..506999b 100644 --- a/contrib/win32/win32compat/ssh-agent/authagent-request.c +++ b/contrib/win32/win32compat/ssh-agent/authagent-request.c @@ -66,6 +66,7 @@ generate_user_token(wchar_t* user) { QUOTA_LIMITS quotas; DWORD cbProfile; BOOL domain_user; + wchar_t user_copy[MAX_USER_LEN]; /* prep user name - TODO: implment an accurate check if user is domain account*/ if (wcsnlen(user, MAX_USER_LEN) == MAX_USER_LEN) {