diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-26 11:37:43 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-27 16:12:23 -0800 |
commit | dec56c8cf1da06fe9ff4c9d3a26f74fb1ddd2fc6 (patch) | |
tree | f7d572c6ba629e81ad156d6c83e1cdd3b4644f05 /strbuf.c | |
parent | dcf01c6e6b9f63d6f6239a6c6ff9f6373e4c5ff8 (diff) | |
download | git-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