mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
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>
This commit is contained in:
parent
a07157ac62
commit
600682aaa1
Loading…
Reference in a new issue