/[packages]/cauldron/xmlrpc-c/current/SOURCES/xmlrpc-c-uninit-curl.patch
ViewVC logotype

Contents of /cauldron/xmlrpc-c/current/SOURCES/xmlrpc-c-uninit-curl.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6159 - (show annotations) (download)
Tue Jan 11 19:04:14 2011 UTC (10 years, 8 months ago) by pterjan
File size: 1115 byte(s)
imported package xmlrpc-c
1 From fa520fd88d776435c90e054601dddf06f7077254 Mon Sep 17 00:00:00 2001
2 From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
3 Date: Sat, 21 Nov 2009 14:12:41 +0100
4 Subject: [PATCH 5/6] fixed unitialized variable
5
6 Reported by Nikola Pajkovsky <npajkovs AT redhat.com>:
7
8 Problem shows up only when you compiled xmlrpc with nss and try to
9 connect to server with wrong certificate.
10 ---
11 lib/curl_transport/curltransaction.c | 1 +
12 1 files changed, 1 insertions(+), 0 deletions(-)
13
14 diff --git a/lib/curl_transport/curltransaction.c b/lib/curl_transport/curltransaction.c
15 index bf7fa99..4239385 100644
16 --- a/lib/curl_transport/curltransaction.c
17 +++ b/lib/curl_transport/curltransaction.c
18 @@ -555,6 +555,7 @@ curlTransaction_create(xmlrpc_env * const envP,
19 curlTransactionP->curlSessionP = curlSessionP;
20 curlTransactionP->userContextP = userContextP;
21 curlTransactionP->progress = progress;
22 + curlTransactionP->curlError[0] = '\0';
23
24 curlTransactionP->serverUrl = strdup(serverP->serverUrl);
25 if (curlTransactionP->serverUrl == NULL)
26 --
27 1.6.5.2
28

  ViewVC Help
Powered by ViewVC 1.1.28