http-fetch: fix possible segfault
commite8dff6ba8b12db94b728ff4d0ebf65040de92c37
authorNick Hengeveld <nickh@reactrix.com>
Wed, 7 Jun 2006 05:22:35 +0000 (6 22:22 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 7 Jun 2006 05:32:51 +0000 (6 22:32 -0700)
tree10cb9af38cfe5ae817a31099d172099edb654541
parent5ad312bedede83f63de5e69ef5e5ddff46484eae
http-fetch: fix possible segfault

Initialize an object request's slot to a safe value.  A non-NULL value
can cause a segfault if the request is aborted before it starts.

Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c