[PATCH] Fix segfault on empty else

Daniel Jacobowitz drow@false.org
Tue Jun 20 20:17:00 GMT 2006


On Tue, Jun 20, 2006 at 03:33:37PM +0100, Andrew STUBBS wrote:
> 2006-06-20  Andrew Stubbs  <andrew.stubbs@st.com>
> 
>         * cli/cli-script.c (realloc_body_list): Zero new parts of body_list.

OK, thanks!

:REVIEWMAIL:

Want to add a corresponding test?  Though it likely wouldn't crash,
unless you tried running the testsuite under valgrind.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list