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
c4fba638
Commit
c4fba638
authored
Apr 19, 2022
by
Brendan Shanks
Committed by
Alexandre Julliard
Feb 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Respect zero_bits/limit when mapping a PE file.
parent
82c96f94
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
virtual.c
dlls/ntdll/unix/virtual.c
+2
-0
No files found.
dlls/ntdll/unix/virtual.c
View file @
c4fba638
...
...
@@ -1923,6 +1923,8 @@ static NTSTATUS map_view( struct file_view **view_ret, void *base, size_t size,
{
if
(
is_beyond_limit
(
base
,
size
,
address_space_limit
))
return
STATUS_WORKING_SET_LIMIT_RANGE
;
if
(
limit
&&
is_beyond_limit
(
base
,
size
,
(
void
*
)
limit
))
return
STATUS_CONFLICTING_ADDRESSES
;
status
=
map_fixed_area
(
base
,
size
,
vprot
);
if
(
status
!=
STATUS_SUCCESS
)
return
status
;
ptr
=
base
;
...
...
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