diff options
author | 2011-03-16 17:06:17 +0100 | |
---|---|---|
committer | 2011-03-16 13:51:22 -0700 | |
commit | 1d679de58e886e134c5569c542667a08f0faedd6 (patch) | |
tree | c2e1ca640d80925b0cbcd580e6b735e64ff2bde8 /Documentation/git-fetch-pack.txt | |
parent | valgrind: ignore SSE-based strlen invalid reads (diff) | |
download | tgif-1d679de58e886e134c5569c542667a08f0faedd6.tar.xz |
make_absolute_path: return the input path if it points to our buffer
Some codepaths call make_absolute_path with its own return value as
input. In such a cases, return the path immediately.
This fixes a valgrind-discovered error, whereby we tried to copy a
string onto itself.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fetch-pack.txt')
0 files changed, 0 insertions, 0 deletions