* cp-demangle.c (d_encoding): Exit early on error.
(d_pointer_to_member_type): Exit early if cplus_demangle_type returns NULL. (cplus_demangle_type): Likewise. * testsuite/demangle-expected: New testcase.
This commit is contained in:
parent
27c1e22ef1
commit
8d3010701b
3 changed files with 16 additions and 2 deletions
|
@ -3838,3 +3838,7 @@ _ZNSA
|
|||
--format=gnu-v3
|
||||
_ZNT
|
||||
_ZNT
|
||||
# Dereferencing NULL in d_pointer_to_member_type
|
||||
--format=gnu-v3
|
||||
_Z1aMark
|
||||
_Z1aMark
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue