summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e58bf9)
raw | patch | inline | side by side (parent: 4e58bf9)
author | Julian Phillips <julian@quantumfyre.co.uk> | |
Sun, 29 Apr 2007 02:46:42 +0000 (03:46 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 29 Apr 2007 08:34:59 +0000 (01:34 -0700) |
Calling http_init after calling http_cleanup causes a segfault. This
is due to the pragma_header curl_slist being freed but not being set
to NULL. The subsequent call to http_init tries to setup the slist
again, but it now points to an invalid memory location.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
is due to the pragma_header curl_slist being freed but not being set
to NULL. The subsequent call to http_init tries to setup the slist
again, but it now points to an invalid memory location.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http.c | patch | blob | history |