mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Dmitry Gorbachev
- PDT of CSRSS has no entry for TCB of the thread, fix this problem. See issue #3591 for more details. svn path=/trunk/; revision=34901
This commit is contained in:
@@ -451,6 +451,7 @@ KeAttachProcess(IN PKPROCESS Process)
|
||||
(PVOID)Thread->StackLimit,
|
||||
Thread->LargeStack ?
|
||||
KERNEL_STACK_SIZE : KERNEL_LARGE_STACK_SIZE);
|
||||
MiSyncThreadProcessViews(Process, Thread, sizeof(ETHREAD));
|
||||
|
||||
/* Check if we're already in that process */
|
||||
if (Thread->ApcState.Process == Process) return;
|
||||
@@ -580,6 +581,7 @@ KeStackAttachProcess(IN PKPROCESS Process,
|
||||
(PVOID)Thread->StackLimit,
|
||||
Thread->LargeStack ?
|
||||
KERNEL_STACK_SIZE : KERNEL_LARGE_STACK_SIZE);
|
||||
MiSyncThreadProcessViews(Process, Thread, sizeof(ETHREAD));
|
||||
|
||||
/* Crash system if DPC is being executed! */
|
||||
if (KeIsExecutingDpc())
|
||||
|
||||
Reference in New Issue
Block a user