This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC 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]

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


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