1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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

This commit is contained in:
Alexandre Julliard 2023-05-04 10:39:12 +02:00
parent 460eaee43d
commit b247a33fa1

View file

@ -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 );
}