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
d96864eb
Commit
d96864eb
authored
Dec 11, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Leave some free space between modules in ASLR mode.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55993
parent
00692f5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mapping.c
server/mapping.c
+2
-0
No files found.
server/mapping.c
View file @
d96864eb
...
@@ -1165,6 +1165,8 @@ static client_ptr_t assign_map_address( struct mapping *mapping )
...
@@ -1165,6 +1165,8 @@ static client_ptr_t assign_map_address( struct mapping *mapping )
if
((
ret
=
get_fd_map_address
(
mapping
->
fd
)))
return
ret
;
if
((
ret
=
get_fd_map_address
(
mapping
->
fd
)))
return
ret
;
size
+=
granularity_mask
+
1
;
/* leave some free space between mappings */
for
(
i
=
0
;
i
<
range
->
count
;
i
++
)
for
(
i
=
0
;
i
<
range
->
count
;
i
++
)
{
{
if
(
range
->
free
[
i
].
size
<
size
)
continue
;
if
(
range
->
free
[
i
].
size
<
size
)
continue
;
...
...
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