r172246 - in /trunk/libiberty: ChangeLog testsu...

mrs@gcc.gnu.org mrs@gcc.gnu.org
Sun Apr 10 18:13:00 GMT 2011


Author: mrs
Date: Sun Apr 10 18:13:23 2011
New Revision: 172246

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172246
Log:
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.

Modified:
    trunk/libiberty/ChangeLog
    trunk/libiberty/testsuite/test-expandargv.c



More information about the Gcc-cvs mailing list