diff options
author | Jacob Keller <jacob.keller@gmail.com> | 2025-02-21 15:47:58 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-21 18:27:16 -0800 |
commit | bb60c5213134cda73c31940ec0fb33c361a064eb (patch) | |
tree | ee904f2746cf68a692306a19b6f88966c325f0a1 /commit-graph.c | |
parent | e1fbebe347426ef7974dc2198f8a277b7c31c8fe (diff) |
mailmap: fix check-mailmap with full mailmap line
I recently had reported to me a crash from a coworker using the recently
added sendemail mailmap support:
3724814 Segmentation fault (core dumped) git check-mailmap "bugs@company.xx"
This appears to happen because of the NULL pointer name passed into
map_user(). Fix this by passing "" instead of NULL so that we have a
valid pointer.
Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions