From 6affc342b968ec042d9efe84ca0ea40c8d88e8bf Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sat, 21 Nov 2009 14:12:41 +0100 Subject: [PATCH 4/5] fixed unitialized variable Reported by Nikola Pajkovsky : Problem shows up only when you compiled xmlrpc with nss and try to connect to server with wrong certificate. --- lib/curl_transport/curltransaction.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/curl_transport/curltransaction.c b/lib/curl_transport/curltransaction.c index 59cb6ab..3c75010 100644 --- a/lib/curl_transport/curltransaction.c +++ b/lib/curl_transport/curltransaction.c @@ -641,6 +641,7 @@ curlTransaction_create(xmlrpc_env * const envP, curlTransactionP->curlSessionP = curlSessionP; curlTransactionP->userContextP = userContextP; curlTransactionP->progress = progress; + curlTransactionP->curlError[0] = '\0'; curlTransactionP->serverUrl = strdup(serverP->serverUrl); if (curlTransactionP->serverUrl == NULL) -- 1.7.1.1