Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1943fb29
Commit
1943fb29
authored
May 24, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Don't pass DLL_WINE_PREATTACH to the TLS callbacks.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c52b2f12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
loader.c
dlls/ntdll/loader.c
+2
-0
No files found.
dlls/ntdll/loader.c
View file @
1943fb29
...
@@ -1217,6 +1217,8 @@ static void call_tls_callbacks( HMODULE module, UINT reason )
...
@@ -1217,6 +1217,8 @@ static void call_tls_callbacks( HMODULE module, UINT reason )
const
PIMAGE_TLS_CALLBACK
*
callback
;
const
PIMAGE_TLS_CALLBACK
*
callback
;
ULONG
dirsize
;
ULONG
dirsize
;
if
(
reason
==
DLL_WINE_PREATTACH
)
return
;
dir
=
RtlImageDirectoryEntryToData
(
module
,
TRUE
,
IMAGE_DIRECTORY_ENTRY_TLS
,
&
dirsize
);
dir
=
RtlImageDirectoryEntryToData
(
module
,
TRUE
,
IMAGE_DIRECTORY_ENTRY_TLS
,
&
dirsize
);
if
(
!
dir
||
!
dir
->
AddressOfCallBacks
)
return
;
if
(
!
dir
||
!
dir
->
AddressOfCallBacks
)
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment