http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b671f4
)
ntdll: Fix the ProcessDebugPort information length in NtQueryInformationProcess().
author
Henri Verbeet
<hverbeet@codeweavers.com>
Sun, 14 Mar 2010 20:53:26 +0000
(21:53 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 15 Mar 2010 14:56:02 +0000
(15:56 +0100)
dlls/ntdll/process.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ntdll/process.c
b/dlls/ntdll/process.c
index ba51df564451729ff965099336445b661e9ce25d..9be133910d0bf1de54ce89050e56195e2908931f 100644
(file)
--- a/
dlls/ntdll/process.c
+++ b/
dlls/ntdll/process.c
@@
-293,7
+293,7
@@
NTSTATUS WINAPI NtQueryInformationProcess(
case ProcessDebugPort:
/* "These are not the debuggers you are looking for." *
* set it to 0 aka "no debugger" to satisfy copy protections */
- len =
4
;
+ len =
sizeof(DWORD_PTR)
;
if (ProcessInformationLength == len)
memset(ProcessInformation, 0, ProcessInformationLength);
else