From: Junio C Hamano Date: Mon, 26 Feb 2007 19:37:43 +0000 (-0800) Subject: fetch--tool: fix uninitialized buffer when reading from stdin X-Git-Tag: v1.5.1-rc1~30^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/dec56c8cf1da06fe9ff4c9d3a26f74fb1ddd2fc6?ds=inline;hp=dec56c8cf1da06fe9ff4c9d3a26f74fb1ddd2fc6 fetch--tool: fix uninitialized buffer when reading from stdin The original code allocates too much space and forgets to NUL terminate the string. Signed-off-by: Junio C Hamano ---