From 26be931cc5c4b0e9adc1bdb0676cff46df7bc7eb Mon Sep 17 00:00:00 2001 From: manojampalam Date: Sun, 15 May 2016 12:30:50 -0700 Subject: [PATCH] missed change in earlier committ --- contrib/win32/win32compat/ssh-agent/authagent-request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/win32/win32compat/ssh-agent/authagent-request.c b/contrib/win32/win32compat/ssh-agent/authagent-request.c index a548bcf4..506999b1 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) {