r236454 - in /branches/gcc-4_9-branch/libiberty...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Thu May 19 12:02:00 GMT 2016
Author: jakub
Date: Thu May 19 12:02:19 2016
New Revision: 236454
URL: https://gcc.gnu.org/viewcvs?rev=236454&root=gcc&view=rev
Log:
Backported from mainline
2015-07-13 Mikhail Maltsev <maltsevm@gmail.com>
* cp-demangle.c (d_dump): Fix syntax error.
(d_identifier): Adjust type of len to match d_source_name.
(d_expression_1): Fix out-of-bounds access. Check code variable for
NULL before dereferencing it.
(d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER.
(d_print_comp_inner): Add NULL pointer check.
* testsuite/demangle-expected: Add new testcases.
Modified:
branches/gcc-4_9-branch/libiberty/ChangeLog
branches/gcc-4_9-branch/libiberty/cp-demangle.c
branches/gcc-4_9-branch/libiberty/testsuite/demangle-expected
More information about the Gcc-cvs
mailing list