Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
30c8da1c
Commit
30c8da1c
authored
Oct 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Do an explicit mmap address search for any range not covering the entire address space.
parent
b862cc03
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
virtual.c
dlls/ntdll/unix/virtual.c
+2
-2
No files found.
dlls/ntdll/unix/virtual.c
View file @
30c8da1c
...
@@ -1361,7 +1361,7 @@ static void *map_free_area( void *base, void *end, size_t size, int top_down, in
...
@@ -1361,7 +1361,7 @@ static void *map_free_area( void *base, void *end, size_t size, int top_down, in
start
=
try_map_free_area
(
base
,
end
,
step
,
start
,
size
,
unix_prot
);
start
=
try_map_free_area
(
base
,
end
,
step
,
start
,
size
,
unix_prot
);
if
(
!
start
)
if
(
!
start
)
ERR
(
"couldn't map free area in range %p-%p, size %p"
,
base
,
end
,
(
void
*
)
size
);
ERR
(
"couldn't map free area in range %p-%p, size %p
\n
"
,
base
,
end
,
(
void
*
)
size
);
return
start
;
return
start
;
}
}
...
@@ -2031,7 +2031,7 @@ static NTSTATUS map_view( struct file_view **view_ret, void *base, size_t size,
...
@@ -2031,7 +2031,7 @@ static NTSTATUS map_view( struct file_view **view_ret, void *base, size_t size,
goto
done
;
goto
done
;
}
}
if
(
limit_low
||
limit_high
)
if
(
start
>
address_space_start
||
end
<
address_space_limit
||
top_down
)
{
{
if
(
!
(
ptr
=
map_free_area
(
start
,
end
,
size
,
top_down
,
get_unix_prot
(
vprot
),
align_mask
)))
if
(
!
(
ptr
=
map_free_area
(
start
,
end
,
size
,
top_down
,
get_unix_prot
(
vprot
),
align_mask
)))
return
STATUS_NO_MEMORY
;
return
STATUS_NO_MEMORY
;
...
...
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