ntdll: Initialize TLS links also on the 64-bit side in wow64 mode.
This commit is contained in:
parent
460eaee43d
commit
b247a33fa1
1 changed files with 4 additions and 0 deletions
|
@ -4046,6 +4046,10 @@ static void init_wow64( CONTEXT *context )
|
|||
imports_fixup_done = TRUE;
|
||||
}
|
||||
|
||||
RtlAcquirePebLock();
|
||||
InsertHeadList( &tls_links, &NtCurrentTeb()->TlsLinks );
|
||||
RtlReleasePebLock();
|
||||
|
||||
RtlLeaveCriticalSection( &loader_section );
|
||||
pWow64LdrpInitialize( context );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue