summaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-26 11:37:43 -0800
committerJunio C Hamano <junkio@cox.net>2007-02-27 16:12:23 -0800
commitdec56c8cf1da06fe9ff4c9d3a26f74fb1ddd2fc6 (patch)
treef7d572c6ba629e81ad156d6c83e1cdd3b4644f05 /strbuf.c
parentdcf01c6e6b9f63d6f6239a6c6ff9f6373e4c5ff8 (diff)
downloadgit-dec56c8cf1da06fe9ff4c9d3a26f74fb1ddd2fc6.tar.gz
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 <junkio@cox.net>
Diffstat (limited to 'strbuf.c')
0 files changed, 0 insertions, 0 deletions