Commit b247a33f authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Initialize TLS links also on the 64-bit side in wow64 mode.

parent 460eaee4
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment