Skip to content

Commit 5e35a33

Browse files
authored
Fix for 32 bit debuggee
1 parent 075c8aa commit 5e35a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TitanHide/hooks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ static NTSTATUS NTAPI HookNtQueryInformationProcess(
480480

481481
__try
482482
{
483-
ProbeForWrite(ProcessInformation, sizeof(HANDLE), sizeof(HANDLE));
483+
ProbeForWrite(ProcessInformation, sizeof(HANDLE), 4);
484484

485485
if (ReturnLength != nullptr)
486486
ProbeForWrite(ReturnLength, sizeof(ULONG), 1);

0 commit comments

Comments
 (0)