d-demangle.c (dlang_identifier): Check encoded length of identifier to verify strncmp...
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 16 May 2015 16:49:46 +0000 (16:49 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Sat, 16 May 2015 16:49:46 +0000 (16:49 +0000)
commit5cc158e9a90083ba769d6f9d590c308e080394d5
tree849e12cd5674304735a6ea98e6f186f5925764b2
parentfa66ced4bffb93caec395411f69af70d9b4ca6ec
d-demangle.c (dlang_identifier): Check encoded length of identifier to verify strncmp matches entire string.

libiberty/ChangeLog:

2015-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>

* d-demangle.c (dlang_identifier): Check encoded length of identifier
to verify strncmp matches entire string.
* testsuite/d-demangle-expected: Fix wrong test for postblit symbol.

From-SVN: r223243
libiberty/ChangeLog
libiberty/d-demangle.c
libiberty/testsuite/d-demangle-expected