Use strlcpy instead of strncpy in mailmap.c
authorAlex Riesen <raa.lkml@gmail.com>
Mon, 30 Apr 2007 22:22:53 +0000 (00:22 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 30 Apr 2007 23:57:47 +0000 (16:57 -0700)
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>
No differences found