gcc/libiberty/testsuite
Jim Meyering 4b9726d48c Avoid memory overrun in a test leading to potential double-free.
2011-04-10  Jim Meyering  <meyering@redhat.com>

	    Avoid memory overrun in a test leading to potential double-free.
	    * testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
	    i.e., do copy the trailing NUL byte.

From-SVN: r172246
2011-04-10 18:13:23 +00:00
..
Makefile.in re PR other/12618 (core not cleaned up by 'make distclean') 2008-02-19 14:23:15 +11:00
demangle-expected Properly demangle a global constructor symbol. 2010-11-16 09:56:50 -08:00
test-demangle.c re PR fortran/10197 (direct acces files not unformatted by default) 2009-06-16 12:43:58 +00:00
test-expandargv.c Avoid memory overrun in a test leading to potential double-free. 2011-04-10 18:13:23 +00:00
test-pexecute.c strverscmp.c: Update FSF address. 2005-08-17 03:31:04 +00:00