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
aa900275
Commit
aa900275
authored
Nov 13, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix the threads stream size.
parent
e7590fcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
minidump.c
dlls/dbghelp/minidump.c
+3
-4
No files found.
dlls/dbghelp/minidump.c
View file @
aa900275
...
...
@@ -723,7 +723,7 @@ static unsigned dump_threads(struct dump_context* dc,
{
MINIDUMP_THREAD
mdThd
;
MINIDUMP_THREAD_LIST
mdThdList
;
unsigned
i
;
unsigned
i
,
sz
;
RVA
rva_base
;
DWORD
flags_out
;
CONTEXT
ctx
;
...
...
@@ -731,8 +731,7 @@ static unsigned dump_threads(struct dump_context* dc,
mdThdList
.
NumberOfThreads
=
0
;
rva_base
=
dc
->
rva
;
dc
->
rva
+=
sizeof
(
mdThdList
.
NumberOfThreads
)
+
dc
->
spi
->
dwThreadCount
*
sizeof
(
mdThd
);
dc
->
rva
+=
sz
=
sizeof
(
mdThdList
.
NumberOfThreads
)
+
dc
->
spi
->
dwThreadCount
*
sizeof
(
mdThd
);
for
(
i
=
0
;
i
<
dc
->
spi
->
dwThreadCount
;
i
++
)
{
...
...
@@ -800,7 +799,7 @@ static unsigned dump_threads(struct dump_context* dc,
writeat
(
dc
,
rva_base
,
&
mdThdList
.
NumberOfThreads
,
sizeof
(
mdThdList
.
NumberOfThreads
));
return
dc
->
rva
-
rva_base
;
return
sz
;
}
/******************************************************************
...
...
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