mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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:
parent
258329b01b
commit
b971b4d659
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue