Use strlcpy instead of strncpy in mailmap.c
commit600682aaa12c56d55bd24233828205c43ece2ded
authorAlex Riesen <raa.lkml@gmail.com>
Mon, 30 Apr 2007 22:22:53 +0000 (1 00:22 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 30 Apr 2007 23:57:47 +0000 (30 16:57 -0700)
tree61377547211bac12beb6203ec4a203369ba1b36f
parenta07157ac624b2524a059a3414e99f6f44bebc1e7
Use strlcpy instead of strncpy in mailmap.c

strncpy does not NUL-terminate output in case of output buffer too short,
and map_email prototype (and usage) does not allow for figuring out
what the length of the name is.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
mailmap.c