diff options
author | Jeff King <peff@peff.net> | 2009-05-25 06:46:09 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-25 11:34:02 -0700 |
commit | 3cd7388d57db4f4a29949e8de96493fb77059484 (patch) | |
tree | dfa546e4577ae9f13d6b2f7b18ddbb63b86e3a72 /builtin-fetch.c | |
parent | 9619ff14159ab3401636b9883a715b0f20b051df (diff) | |
download | git-3cd7388d57db4f4a29949e8de96493fb77059484.tar.gz |
convert bare readlink to strbuf_readlink
This particular readlink call never NUL-terminated its
result, making it a potential source of bugs (though there
is no bug now, as it currently always respects the length
field). Let's just switch it to strbuf_readlink which is
shorter and less error-prone.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fetch.c')
0 files changed, 0 insertions, 0 deletions