Fix from Dale Hawkins:
authorJim Blandy <jimb@gcc.gnu.org>
Tue, 20 Apr 1999 11:00:27 +0000 (11:00 +0000)
committerJim Blandy <jimb@gcc.gnu.org>
Tue, 20 Apr 1999 11:00:27 +0000 (11:00 +0000)
commitc5a855ce6e6b55033885ab44417d70eba7a48b57
treecf246382e124c581afa4e2ac223308416eb5459e
parent296967fe64ee8b65d64c6b0f4143ced1f50ecc7d
Fix from Dale Hawkins:

* cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
reallocated properly if we use it again.
* cplus-dem.c (demangle_fund_type): Check for buffer overrun.  Be
stricter about syntax.  Always null-terminate string.

From-SVN: r26562
libiberty/cplus-dem.c