diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2007-05-01 00:22:53 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-01 01:57:47 +0200 |
commit | 600682aaa12c56d55bd24233828205c43ece2ded (patch) | |
tree | 61377547211bac12beb6203ec4a203369ba1b36f /xdiff-interface.h | |
parent | Merge branch 'jc/attr' (diff) | |
download | git-600682aaa12c56d55bd24233828205c43ece2ded.tar.xz git-600682aaa12c56d55bd24233828205c43ece2ded.zip |
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>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions