]> granicus.if.org Git - curl/commitdiff
Fixed an uninitialized variable in multi_runsingle() that could cause a
authorDan Fandrich <dan@coneharvesters.com>
Fri, 8 Aug 2008 01:52:08 +0000 (01:52 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 8 Aug 2008 01:52:08 +0000 (01:52 +0000)
request to prematurely end.

CHANGES
lib/multi.c

diff --git a/CHANGES b/CHANGES
index b563117ba3504b84546495dce7299e54d1463436..468369282d63c719e390e94360bbe78beed8f1cc 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
 
                                   Changelog
 
+Daniel Fandrich (7 Aug 2008)
+- Fixed an uninitialized variable in multi_runsingle() that could cause a
+  request to prematurely end.
+
 Yang Tse (7 Aug 2008)
 - Added curlbuild.h and curlrules.h header files to libcurl's public headers.
   File curlbuild.h is a generated file on configure-capable systems. This is
index f0a7bfb31457de24bac40584217d62fc41d8d8fc..a2a4eb50bd248b5d77a31ce492f1ed44500a80de 100644 (file)
@@ -871,7 +871,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
   bool async;
   bool protocol_connect = FALSE;
   bool dophase_done;
-  bool done;
+  bool done = FALSE;
   CURLMcode result = CURLM_OK;
   struct SingleRequest *k;