This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r172246 - in /trunk/libiberty: ChangeLog testsu...
- From: mrs at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 10 Apr 2011 18:13:23 -0000
- Subject: r172246 - in /trunk/libiberty: ChangeLog testsu...
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