From e54209d643deeeee47a23d9247947b98ba6f0639 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 8 Aug 2008 01:52:08 +0000 Subject: [PATCH] Fixed an uninitialized variable in multi_runsingle() that could cause a request to prematurely end. --- CHANGES | 4 ++++ lib/multi.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index b563117ba..468369282 100644 --- 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 diff --git a/lib/multi.c b/lib/multi.c index f0a7bfb31..a2a4eb50b 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -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;