mirror of
https://github.com/git/git.git
synced 2026-02-27 18:29:43 +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