mirror of
https://github.com/git/git.git
synced 2026-02-05 23:41:26 +00:00
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>
6.3 KiB
6.3 KiB