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
7a1e7cbe
Commit
7a1e7cbe
authored
Apr 30, 2021
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix _unDName crash when demangling class function pointer.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d9116083
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
cpp.c
dlls/msvcrt/tests/cpp.c
+2
-0
undname.c
dlls/msvcrt/undname.c
+1
-1
No files found.
dlls/msvcrt/tests/cpp.c
View file @
7a1e7cbe
...
...
@@ -1091,6 +1091,8 @@ static void test_demangle_datatype(void)
"class CDB_GEN_BIG_ENUM_FLAG<enum CDB_WYSIWYG_BITS_ENUM,32256>"
,
TRUE
},
{
"?AV?$CDB_GEN_BIG_ENUM_FLAG@W4CDB_WYSIWYG_BITS_ENUM@@$01@@@"
,
"?AV?$CDB_GEN_BIG_ENUM_FLAG@W4CDB_WYSIWYG_BITS_ENUM@@$01@@@"
,
FALSE
},
{
"P8test@@AACXZ"
,
"signed char (__cdecl test::*)(void)"
,
TRUE
},
{
"P8test@@BACXZ"
,
"signed char (__cdecl test::*)(void)const "
,
TRUE
},
};
int
i
,
num_test
=
ARRAY_SIZE
(
demangle
);
...
...
dlls/msvcrt/undname.c
View file @
7a1e7cbe
...
...
@@ -879,7 +879,7 @@ static BOOL demangle_datatype(struct parsed_symbol* sym, struct datatype_t* ct,
goto
done
;
if
(
modifier
)
modifier
=
str_printf
(
sym
,
"%s %s"
,
modifier
,
ptr_modif
);
else
if
(
ptr_modif
[
0
]
)
else
if
(
ptr_modif
)
modifier
=
str_printf
(
sym
,
" %s"
,
ptr_modif
);
if
(
!
get_calling_convention
(
*
sym
->
current
++
,
&
call_conv
,
&
exported
,
...
...
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