summaryrefslogtreecommitdiff
path: root/peek-remote.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2005-10-26 16:18:56 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2005-10-26 11:52:19 -0700
commitb5c367f75c2990650119749a1add5216871ca47a (patch)
treee0743dd0ce5cf03505b25902697dcee812e77e38 /peek-remote.c
parentupload-pack: tighten request validation. (diff)
downloadtgif-b5c367f75c2990650119749a1add5216871ca47a.tar.xz
Fix cloning (memory corruption)
upload-pack would set create_full_pack=1 if nr_has==0, but would ask later if nr_needs<MAX_NEEDS. If that proves true, it would ignore create_full_pack, and arguments would be written into unreserved memory. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'peek-remote.c')
0 files changed, 0 insertions, 0 deletions