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
61a9eef9
Commit
61a9eef9
authored
Jun 26, 2010
by
Paul Chitescu
Committed by
Alexandre Julliard
Jun 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Provide a non-NULL number of bytes read to ReadProcessMemoryProc64 callback.
parent
d474d3f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
stack.c
dlls/dbghelp/stack.c
+3
-2
No files found.
dlls/dbghelp/stack.c
View file @
61a9eef9
...
@@ -95,10 +95,11 @@ static inline void addr_64to32(const ADDRESS64* addr64, ADDRESS* addr32)
...
@@ -95,10 +95,11 @@ static inline void addr_64to32(const ADDRESS64* addr64, ADDRESS* addr32)
BOOL
sw_read_mem
(
struct
cpu_stack_walk
*
csw
,
DWORD64
addr
,
void
*
ptr
,
DWORD
sz
)
BOOL
sw_read_mem
(
struct
cpu_stack_walk
*
csw
,
DWORD64
addr
,
void
*
ptr
,
DWORD
sz
)
{
{
DWORD
bytes_read
=
0
;
if
(
csw
->
is32
)
if
(
csw
->
is32
)
return
csw
->
u
.
s32
.
f_read_mem
(
csw
->
hProcess
,
addr
,
ptr
,
sz
,
NULL
);
return
csw
->
u
.
s32
.
f_read_mem
(
csw
->
hProcess
,
addr
,
ptr
,
sz
,
&
bytes_read
);
else
else
return
csw
->
u
.
s64
.
f_read_mem
(
csw
->
hProcess
,
addr
,
ptr
,
sz
,
NULL
);
return
csw
->
u
.
s64
.
f_read_mem
(
csw
->
hProcess
,
addr
,
ptr
,
sz
,
&
bytes_read
);
}
}
DWORD64
sw_xlat_addr
(
struct
cpu_stack_walk
*
csw
,
ADDRESS64
*
addr
)
DWORD64
sw_xlat_addr
(
struct
cpu_stack_walk
*
csw
,
ADDRESS64
*
addr
)
...
...
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