Re: [PATCH] banned.h: mark strncat() as banned
- Date: Wed, 2 Jan 2019 13:00:14 -0500
- From: Eric Sunshine <sunshine@xxxxxxxxxxxxxx>
- Subject: Re: [PATCH] banned.h: mark strncat() as banned
On Wed, Jan 2, 2019 at 4:38 AM Eric Wong <e@xxxxxxxxx> wrote:
> strncat() has the same quadratic behavior as strcat() and is
> difficult-to-read and bug-prone. While it hasn't yet been a
> problem in git iself, strncat() found it's way into 'master'
> of cgit and caused segfaults on my system.
> Signed-off-by: Eric Wong <e@xxxxxxxxx>