curl/curl-7.19.7-modelfree.patch
Kamil Dudka ee5ba870fa - fix crash on doubly closed NSPR descriptor, patch contributed by Kevin
Baughman (#534176)
- new version of patch for broken TLS servers (#525496, #527771)
2009-11-12 12:00:33 +00:00

13 lines
415 B
Diff

diff --git a/lib/nss.c b/lib/nss.c
index f5c69e6..d1a9d1a 100644
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -1265,6 +1265,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
if(!connssl->handle)
goto error;
PR_Close(model); /* We don't need this any more */
+ model = NULL;
/* This is the password associated with the cert that we're using */
if (data->set.str[STRING_KEY_PASSWD]) {