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
aa409c75
Commit
aa409c75
authored
Jan 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fill the tail of existing large blocks when the debug flags change.
parent
dedabe9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
heap.c
dlls/ntdll/heap.c
+5
-0
No files found.
dlls/ntdll/heap.c
View file @
aa409c75
...
...
@@ -1341,6 +1341,7 @@ void heap_set_debug_flags( HANDLE handle )
if
(
flags
&
(
HEAP_FREE_CHECKING_ENABLED
|
HEAP_TAIL_CHECKING_ENABLED
))
/* fix existing blocks */
{
SUBHEAP
*
subheap
;
ARENA_LARGE
*
large
;
LIST_FOR_EACH_ENTRY
(
subheap
,
&
heap
->
subheap_list
,
SUBHEAP
,
entry
)
{
...
...
@@ -1367,6 +1368,10 @@ void heap_set_debug_flags( HANDLE handle )
}
}
}
LIST_FOR_EACH_ENTRY
(
large
,
&
heap
->
large_list
,
ARENA_LARGE
,
entry
)
mark_block_tail
(
(
char
*
)(
large
+
1
)
+
large
->
data_size
,
large
->
block_size
-
sizeof
(
*
large
)
-
large
->
data_size
,
flags
);
}
}
...
...
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