(cherry picked from commit aa3deb17bed728db8f2833ebf94eef8535f6834c) Source commit: 94ac2d29cc95b64e4b9d19e143ff402336781934
@@ -4200,6 +4200,10 @@ UnicodeString __fastcall GetAncestorProcessName(int Levels)
{
Result = GetProcessName(ProcessId);
}
+ else if (Result.IsEmpty())
+ {
+ Result = L"n/a";
+ }
CloseHandle(Snapshot);