diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2005-10-26 16:18:56 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-26 11:52:19 -0700 |
commit | b5c367f75c2990650119749a1add5216871ca47a (patch) | |
tree | e0743dd0ce5cf03505b25902697dcee812e77e38 /diff.h | |
parent | upload-pack: tighten request validation. (diff) | |
download | tgif-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 'diff.h')
0 files changed, 0 insertions, 0 deletions