[commit/obvious] guard against NULL in TUI code

Thiago Jung Bauermann bauerman@br.ibm.com
Tue Nov 13 17:07:00 GMT 2007


Hi,

I just committed this patch, which fixes a segfault that can be
triggered by:

$ gdb
(gdb) focus cmd
(gdb) focus prev

I just added a NULL check to tui_prev_win which was already present in
the corresponding tui_next_win function.
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tui-guard-null.diff
Type: text/x-patch
Size: 693 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071113/16634fc5/attachment.bin>


More information about the Gdb-patches mailing list