This commit is contained in:
Ray Hayes 2016-09-30 12:55:39 -07:00
commit 62fa4b9f1f
2 changed files with 247 additions and 246 deletions

View File

@ -194,7 +194,7 @@ agent_listen_loop() {
verbose("Failed to create child process %ls ERROR:%d", module_path, GetLastError());
}
else {
debug("spawned child %d ", pi.dwProcessId);
debug("spawned worker %d for agent client pid %d ", pi.dwProcessId, client_pid);
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
}

View File

@ -338,6 +338,7 @@ int process_pubkeyauth_request(struct sshbuf* request, struct sshbuf* response,
{
wchar_t *tmp, *userW, *domW;
userW = wuser;
domW = NULL;
if ((tmp = wcschr(userW, L'\\')) != NULL) {
domW = userW;
userW = tmp + 1;