This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r238313 - in /trunk/libiberty: ChangeLog cplus-...
- From: law at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 13 Jul 2016 22:06:09 -0000
- Subject: r238313 - in /trunk/libiberty: ChangeLog cplus-...
Author: law
Date: Wed Jul 13 22:06:09 2016
New Revision: 238313
URL: https://gcc.gnu.org/viewcvs?rev=238313&root=gcc&view=rev
Log:
PR c++/70926
* cplus-dem.c: Handle large values and overflow when demangling
length variables.
(demangle_template_value_parm): Read only until end of mangled string.
(do_hpacc_template_literal): Likewise.
(do_type): Handle overflow when demangling array indices.
Modified:
trunk/libiberty/ChangeLog
trunk/libiberty/cplus-dem.c
trunk/libiberty/testsuite/demangle-expected