Blame SOURCES/xmlrpc-c-uninit-curl.patch

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