diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-07-15 02:54:10 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-15 08:19:56 -0700 |
commit | 0939a242fe95fd2c2a2a4094d827e144382de3d7 (patch) | |
tree | 7ef461206d53215aa1ac1f5ffca6089c35494846 | |
parent | c10be0c6acfe671adf0ed1b3387de45d126f8ab7 (diff) | |
download | git-0939a242fe95fd2c2a2a4094d827e144382de3d7.tar.gz |
mailmap: debug: fix malformed fprintf() format conversion specification
Resolve segmentation fault due to size_t variable being consumed by
'%s'.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | mailmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -337,7 +337,7 @@ int map_user(struct string_list *map, *name = mi->name; *namelen = strlen(*name); } - debug_mm("map_user: to '%.*s' <.*%s>\n", *namelen, *name, + debug_mm("map_user: to '%.*s' <%.*s>\n", *namelen, *name, *emaillen, *email); return 1; } |