summaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
authorLibravatar Marc-André Lureau <marcandre.lureau@gmail.com>2011-11-17 02:25:06 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-11-16 18:00:56 -0800
commit74b531f65feaa09b5c3963f788b437a368933730 (patch)
tree07615b226575941dee43fdcaba7a3fe7bc80c400 /color.h
parentAdd map_user() and clear_mailmap() to mailmap (diff)
downloadtgif-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