[binutils-gdb] Fix undefined behavior in TUI's TAB expansion

sergiodj+buildbot@redhat.com sergiodj+buildbot@redhat.com
Sat Mar 21 10:04:00 GMT 2015


*** TEST RESULTS FOR COMMIT b1a0f704950296b2363192ba91999eef3635700f ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: b1a0f704950296b2363192ba91999eef3635700f

Fix undefined behavior in TUI's TAB expansion
gdb/ChangeLog:

	* tui/tui-io.c (tui_expand_tabs): Reinitialize the column counter
	before the second loop, to avoid undefined behavior.  Reported by
	Anton Blanchard <anton@samba.org>.



More information about the Gdb-testers mailing list