mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
- Fix 41969 -- the wrong flag got set, creating a broken, unusable debug object. Please make sure you know basic C before trying some clever optimization. Debuggers should now work again...
svn path=/trunk/; revision=42280
This commit is contained in:
parent
3bf37964b7
commit
43f03aef8a
1 changed files with 5 additions and 1 deletions
|
@ -1564,7 +1564,11 @@ NtCreateDebugObject(OUT PHANDLE DebugHandle,
|
|||
FALSE);
|
||||
|
||||
/* Set the Flags */
|
||||
DebugObject->Flags = Flags;
|
||||
DebugObject->Flags = 0;
|
||||
if (Flags & DBGK_KILL_PROCESS_ON_EXIT)
|
||||
{
|
||||
DebugObject->KillProcessOnExit = TRUE;
|
||||
}
|
||||
|
||||
/* Insert it */
|
||||
Status = ObInsertObject((PVOID)DebugObject,
|
||||
|
|
Loading…
Reference in a new issue