From 5e35a3334b5b7196e9e6c63366e335f9a849eda2 Mon Sep 17 00:00:00 2001 From: Rexy Date: Wed, 29 Jan 2025 14:26:09 +0300 Subject: [PATCH] Fix for 32 bit debuggee --- TitanHide/hooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TitanHide/hooks.cpp b/TitanHide/hooks.cpp index 027ad6a..cfe326d 100644 --- a/TitanHide/hooks.cpp +++ b/TitanHide/hooks.cpp @@ -480,7 +480,7 @@ static NTSTATUS NTAPI HookNtQueryInformationProcess( __try { - ProbeForWrite(ProcessInformation, sizeof(HANDLE), sizeof(HANDLE)); + ProbeForWrite(ProcessInformation, sizeof(HANDLE), 4); if (ReturnLength != nullptr) ProbeForWrite(ReturnLength, sizeof(ULONG), 1);