Re: [PATCH] test-path-utils: use xsnprintf in favor of strcpy
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 9, 2016, 10:13 UTC
- Message-ID
- <alpine.DEB.2.20.1602091112570.2964@virtualbox>
- In-Reply-To
- <20160208222155.GA17395@sigill.intra.peff.net>
Hi Peff,
On Mon, 8 Feb 2016, Jeff King wrote:
Show 6 quoted lines
> This strcpy will never overflow because it's copying from > baked-in test data. But we would prefer to avoid strcpy > entirely, as it makes it harder to audit for real security > bugs. > > Signed-off-by: Jeff King <peff@peff.net>
ACK, of course.
Thanks! Dscho