summaryrefslogtreecommitdiff
path: root/t/t5540-http-push.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2009-01-17 16:36:26 +0100
committerJunio C Hamano <gitster@pobox.com>2009-01-17 18:19:35 -0800
commit20642801e44a03362d1809644bf4da6473636529 (patch)
tree9f24b9f62d3c82ad44926d03f779620791d48de0 /t/t5540-http-push.sh
parentebb7bbf769e3785e882dffcce69816b88e0838f5 (diff)
downloadgit-20642801e44a03362d1809644bf4da6473636529.tar.gz
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 't/t5540-http-push.sh')
0 files changed, 0 insertions, 0 deletions