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
71e2ab0e
Commit
71e2ab0e
authored
Jul 02, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Jul 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Correctly initialize the module_pair structure in SymGetTypeFromName.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
78dd8404
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
type.c
dlls/dbghelp/type.c
+3
-3
No files found.
dlls/dbghelp/type.c
View file @
71e2ab0e
...
...
@@ -921,12 +921,12 @@ BOOL WINAPI SymGetTypeInfo(HANDLE hProcess, DWORD64 ModBase,
BOOL
WINAPI
SymGetTypeFromName
(
HANDLE
hProcess
,
ULONG64
BaseOfDll
,
PCSTR
Name
,
PSYMBOL_INFO
Symbol
)
{
struct
process
*
pcs
=
process_find_by_handle
(
hProcess
);
struct
module_pair
pair
;
struct
symt
*
type
;
if
(
!
pcs
)
return
FALSE
;
pair
.
requested
=
module_find_by_addr
(
pcs
,
BaseOfDll
,
DMT_UNKNOWN
);
pair
.
pcs
=
process_find_by_handle
(
hProcess
);
if
(
!
pair
.
pcs
)
return
FALSE
;
pair
.
requested
=
module_find_by_addr
(
pair
.
pcs
,
BaseOfDll
,
DMT_UNKNOWN
);
if
(
!
module_get_debug
(
&
pair
))
return
FALSE
;
type
=
symt_find_type_by_name
(
pair
.
effective
,
SymTagNull
,
Name
);
if
(
!
type
)
return
FALSE
;
...
...
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