patch for gdb 4.18

Jim Blandy jimb@zwingli.cygnus.com
Wed Apr 5 12:59:00 GMT 2000


>      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.



More information about the Gdb-patches mailing list