diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2011-11-17 02:25:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-16 18:00:56 -0800 |
commit | 74b531f65feaa09b5c3963f788b437a368933730 (patch) | |
tree | 07615b226575941dee43fdcaba7a3fe7bc80c400 /color.h | |
parent | Add map_user() and clear_mailmap() to mailmap (diff) | |
download | tgif-74b531f65feaa09b5c3963f788b437a368933730.tar.xz |
mailmap: xcalloc mailmap_info
This is to avoid reaching free of uninitialized members.
With an invalid .mailmap (and perhaps in other cases), it can reach
free(mi->name) with garbage for example.
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.h')
0 files changed, 0 insertions, 0 deletions