From 0939a242fe95fd2c2a2a4094d827e144382de3d7 Mon Sep 17 00:00:00 2001 From: Eric Sunshine Date: Mon, 15 Jul 2013 02:54:10 -0400 Subject: 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 Signed-off-by: Junio C Hamano diff --git a/mailmap.c b/mailmap.c index 0516354..62d998a 100644 --- a/mailmap.c +++ b/mailmap.c @@ -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; } -- cgit v0.10.2-6-g49f6