This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/42230] abi::__cxa_demangle fails to return the length of the decoded name
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2010 21:03:06 -0000
- Subject: [Bug other/42230] abi::__cxa_demangle fails to return the length of the decoded name
- References: <bug-42230-7796@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from ian at airs dot com 2010-01-09 21:03 -------
As far as I can see, that does pass.
Note that the returned length is not the length of the demangled string, it is
the length of the allocated buffer. That is, it may be larger than the length
of the demangled string.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42230