This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog common/format.c testsuite/Ch ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	aburgess@sourceware.org	2013-07-16 21:12:15

Modified files:
	gdb            : ChangeLog 
	gdb/common     : format.c 
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.base: printcmds.exp 

Log message:
	Check for NULL character before calling strchr.
	
	http://sourceware.org/ml/gdb-patches/2013-07/msg00322.html
	
	gdb/ChangeLog
	
	* common/format.c (parse_format_string): Add checks for NULL
	character before calling strchr.
	
	gdb/testsuite/ChangeLog
	
	* gdb.base/printcmds.exp (test_printf): Add tests for format
	strings with missing format specifier.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15802&r2=1.15803
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/common/format.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3730&r2=1.3731
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/printcmds.exp.diff?cvsroot=src&r1=1.51&r2=1.52


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]