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
bad67b14
Commit
bad67b14
authored
Jul 17, 2021
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Initialize new structure members.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
95580835
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
module.c
dlls/dbghelp/module.c
+4
-0
No files found.
dlls/dbghelp/module.c
View file @
bad67b14
...
...
@@ -207,6 +207,8 @@ struct module* module_new(struct process* pcs, const WCHAR* name,
module
->
module
.
TypeInfo
=
FALSE
;
module
->
module
.
SourceIndexed
=
FALSE
;
module
->
module
.
Publics
=
FALSE
;
module
->
module
.
MachineType
=
0
;
module
->
module
.
Reserved
=
0
;
module
->
reloc_delta
=
0
;
module
->
type
=
type
;
...
...
@@ -1201,6 +1203,8 @@ BOOL WINAPI SymGetModuleInfo64(HANDLE hProcess, DWORD64 dwAddr,
mi64
.
TypeInfo
=
miw64
.
TypeInfo
;
mi64
.
SourceIndexed
=
miw64
.
SourceIndexed
;
mi64
.
Publics
=
miw64
.
Publics
;
mi64
.
MachineType
=
miw64
.
MachineType
;
mi64
.
Reserved
=
miw64
.
Reserved
;
memcpy
(
ModuleInfo
,
&
mi64
,
ModuleInfo
->
SizeOfStruct
);
...
...
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