mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user