banned.h: mark strncat() as banned
commitace5707a803eda0f1dde3d776dc3729d3bc7759a
authorEric Wong <e@80x24.org>
Wed, 2 Jan 2019 09:38:46 +0000 (2 09:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2019 18:19:05 +0000 (2 10:19 -0800)
tree02bb7073aab1765540244c8595d573d988d19e10
parent0d0ac3826a3bbb9247e39e12623bbcfdd722f24c
banned.h: mark strncat() as banned

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@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
banned.h