Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 0939a24

Browse files
sunshinecogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c10be0c commit 0939a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ int map_user(struct string_list *map,
337337
*name = mi->name;
338338
*namelen = strlen(*name);
339339
}
340-
debug_mm("map_user: to '%.*s' <.*%s>\n", *namelen, *name,
340+
debug_mm("map_user: to '%.*s' <%.*s>\n", *namelen, *name,
341341
*emaillen, *email);
342342
return 1;
343343
}

0 commit comments

Comments
 (0)