mirror of
https://github.com/reactos/wine.git
synced 2025-01-24 04:45:18 +00:00
ntdll: Run TLS callbacks in zero-sized TLS directories.
This commit is contained in:
parent
13ad5d1725
commit
7aeaa0338c
@ -845,7 +845,7 @@ static NTSTATUS alloc_process_tls(void)
|
||||
IMAGE_DIRECTORY_ENTRY_TLS, &size )))
|
||||
continue;
|
||||
size = (dir->EndAddressOfRawData - dir->StartAddressOfRawData) + dir->SizeOfZeroFill;
|
||||
if (!size) continue;
|
||||
if (!size && !dir->AddressOfCallBacks) continue;
|
||||
tls_total_size += size;
|
||||
tls_module_count++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user