summaryrefslogtreecommitdiff
path: root/preload-index.c
diff options
context:
space:
mode:
authorLibravatar Ilari Liusvaara <ilari.liusvaara@elisanet.fi>2010-01-26 20:24:12 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-26 12:57:53 -0800
commit5bf9219d01b16444b316fe764b58d15bd9265f74 (patch)
treea218ec5aa622712e03dace7acce8aaf711a61636 /preload-index.c
parentGit 1.6.5.8 (diff)
downloadtgif-5bf9219d01b16444b316fe764b58d15bd9265f74.tar.xz
Add xmallocz()
Add routine for allocating NUL-terminated memory block without risking integer overflow in addition of +1 for NUL byte. [jc: with suggestion from Bill Lear] Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'preload-index.c')
0 files changed, 0 insertions, 0 deletions