diff options
author | Ilari Liusvaara <ilari.liusvaara@elisanet.fi> | 2010-01-26 20:24:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-26 12:57:53 -0800 |
commit | 5bf9219d01b16444b316fe764b58d15bd9265f74 (patch) | |
tree | a218ec5aa622712e03dace7acce8aaf711a61636 /t/t4013/diff.whatchanged_--root_-p_master | |
parent | Git 1.6.5.8 (diff) | |
download | tgif-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 't/t4013/diff.whatchanged_--root_-p_master')
0 files changed, 0 insertions, 0 deletions