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
b12bf4d8
Commit
b12bf4d8
authored
Mar 29, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Unmap main image even if not loaded at base address.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=50874
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aab6ebb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
env.c
dlls/ntdll/unix/env.c
+1
-1
No files found.
dlls/ntdll/unix/env.c
View file @
b12bf4d8
...
...
@@ -1872,7 +1872,7 @@ static RTL_USER_PROCESS_PARAMETERS *build_initial_params(void)
env
[
env_pos
++
]
=
0
;
status
=
load_main_exe
(
main_wargv
[
0
],
main_argv
[
0
],
curdir
,
&
image
,
&
module
,
&
image_info
);
if
(
!
status
&&
image_info
.
Machine
!=
current_machine
)
/* need to restart for Wow64 */
if
(
status
>=
0
&&
image_info
.
Machine
!=
current_machine
)
/* need to restart for Wow64 */
{
NtUnmapViewOfSection
(
GetCurrentProcess
(),
module
);
status
=
STATUS_INVALID_IMAGE_FORMAT
;
...
...
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