This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: patch for gdb 4.18
- To: Robert Zimmermann <raz at cynapps dot com>
- Subject: Re: patch for gdb 4.18
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: 05 Apr 2000 14:59:16 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <38EA3E7D.5698DA7B@cynapps.com>
> when demanging gnu internal types, the function mop_up() is called. when that happens, the typevec is cleared with forget_types(). Following that,
> the vector itself is freed. Unfortunately, the vector size is not reset.
This has been fixed already. Thanks, though!
1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
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.