Update ProcessServer.cpp

typo
This commit is contained in:
offhub 2024-12-18 11:14:43 +03:00 committed by GitHub
parent 9bea526756
commit 850c8453a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -136,8 +136,8 @@ BOOL ProcessServer::KillProcess(ULONG ProcessId)
else {
//
// Bevore terminating any process, check if still its a sandboxed process as PID's get reused,
// but not as long as a handle is open, hence chacking after OpenProcess remains valid untill CloseHandle
// Before terminating any process, check if still its a sandboxed process as PID's get reused,
// but not as long as a handle is open, hence checking after OpenProcess remains valid until CloseHandle
//
// also check if process was marked as critical process
//
@ -2219,4 +2219,4 @@ MSG_HEADER *ProcessServer::SuspendAllHandler(MSG_HEADER *msg)
HeapFree(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS, pids);
return SHORT_REPLY(STATUS_SUCCESS);
}
}