We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c28356a commit 9ab9a46Copy full SHA for 9ab9a46
phlib/hndlinfo.c
@@ -1409,7 +1409,7 @@ NTSTATUS PhGetHandleInformationEx(
1409
PPH_STRING objectName = NULL;
1410
PPH_STRING bestObjectName = NULL;
1411
1412
- if (Handle == NULL || Handle == NtCurrentProcess() || Handle == NtCurrentThread())
+ if (ProcessHandle == NULL || Handle == NULL || Handle == NtCurrentProcess() || Handle == NtCurrentThread())
1413
return STATUS_INVALID_HANDLE;
1414
if (ObjectTypeNumber != ULONG_MAX && ObjectTypeNumber >= MAX_OBJECT_TYPE_NUMBER)
1415
return STATUS_INVALID_PARAMETER_3;
0 commit comments