author | Sergey Vlasov <vsu@altlinux.ru> | |
Thu, 13 Oct 2005 17:49:53 +0000 (10:49 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 15 Oct 2005 00:15:46 +0000 (17:15 -0700) | ||
commit | bc8f26527064e8bd9123c293741a0a3762b8a64e | |
tree | 172a73d9554dde5d350f3d9504250a0aba5933fb | tree | snapshot |
parent | e70ec8632ca0968e4738a66235361937eb4162a9 | commit | diff |
git-http-fetch: Remove size limit for objects/info/{packs,alternates}
git-http-fetch received objects/info/packs into a fixed-size buffer
and started to fail when this file became larger than the buffer.
Change it to grow the buffer dynamically, and do the same thing for
objects/info/alternates. Also add missing free() calls for these
buffers.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-http-fetch received objects/info/packs into a fixed-size buffer
and started to fail when this file became larger than the buffer.
Change it to grow the buffer dynamically, and do the same thing for
objects/info/alternates. Also add missing free() calls for these
buffers.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c | diff | blob | history |