diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2009-01-17 16:36:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-17 18:19:35 -0800 |
commit | 20642801e44a03362d1809644bf4da6473636529 (patch) | |
tree | 9f24b9f62d3c82ad44926d03f779620791d48de0 /builtin-send-pack.c | |
parent | Merge branch 'maint-1.6.0' into maint (diff) | |
download | tgif-20642801e44a03362d1809644bf4da6473636529.tar.xz |
http-push: fix off-by-path_len
When getting the result of remote_ls(), we were advancing the variable
"path" to the relative path inside the repository.
However, then we went on to malloc a bogus amount of memory: we were
subtracting the prefix length _again_, quite possibly getting something
negative, which xmalloc() interprets as really, really much.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-send-pack.c')
0 files changed, 0 insertions, 0 deletions