re PR libstdc++/12600 (Demangler goes in infinite loop for certain invalid mangled...
authorCarlo Wood <carlo@alinoe.com>
Tue, 14 Oct 2003 17:46:19 +0000 (17:46 +0000)
committerCarlo Wood <carlo@gcc.gnu.org>
Tue, 14 Oct 2003 17:46:19 +0000 (17:46 +0000)
commitbe3faf89969a58548e6f9d4bc1d89fa76759f93f
tree086c315317559c401cee4f3acb32261c21f416ca
parent1638f5c9d007cf4e1a19a9a44b2f24a311c6727a
re PR libstdc++/12600 (Demangler goes in infinite loop for certain invalid mangled names.)

PR libstdc++/12600
* include/bits/demangle.h (session<Allocator>::
  decode_unqualified_name(string_type& output)): Fail on a
  <operator-name> when decoding <template-argument>.
* testsuite/demangle/regression/cw-15.cc: New.

From-SVN: r72480
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/demangle.h
libstdc++-v3/testsuite/demangle/regression/cw-15.cc [new file with mode: 0644]