[PATCH] avoid memory overrun in a test leading to potential double-free

2011-03-08 Thread Jim Meyering
expandargv.c:264) >From f60778ef0f07983b0ba72ed97fe52b687de28abb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Mar 2011 13:54:13 +0100 Subject: [PATCH] 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 by

Re: [PATCH] avoid memory overrun in a test leading to potential double-free

2011-03-08 Thread DJ Delorie
> 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. Ok. Thanks!

Re: [PATCH] avoid memory overrun in a test leading to potential double-free

2011-04-10 Thread Mike Stump
On Mar 8, 2011, at 11:23 AM, DJ Delorie wrote: >> 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. > > Ok. Thanks! Applied, thanks. In general, you have to ask someone