diff -Nru curl-7.27.0/debian/changelog curl-7.27.0/debian/changelog --- curl-7.27.0/debian/changelog 2013-06-27 13:06:28.000000000 -0500 +++ curl-7.27.0/debian/changelog 2013-08-21 13:15:58.000000000 -0500 @@ -1,3 +1,10 @@ +curl (7.27.0-1ubuntu1.4) quantal; urgency=low + + * Reset timecond when clearing session-info variables (LP: #1179781) + This fixes CURLINFO_CONDITION_UNMET incorrectly reporting "1" + + -- Dave Chiluk Wed, 21 Aug 2013 13:15:47 -0500 + curl (7.27.0-1ubuntu1.3) quantal-security; urgency=low * SECURITY UPDATE: denial of service and possible code execution via diff -Nru curl-7.27.0/debian/patches/series curl-7.27.0/debian/patches/series --- curl-7.27.0/debian/patches/series 2013-06-27 13:07:07.000000000 -0500 +++ curl-7.27.0/debian/patches/series 2013-08-20 17:39:29.000000000 -0500 @@ -5,6 +5,8 @@ CVE-2013-0249.patch CVE-2013-2174.patch +timecond.patch + # the following two patches are reverted during build # any new patches must be added before them 05_curl-tailmatch.patch diff -Nru curl-7.27.0/debian/patches/timecond.patch curl-7.27.0/debian/patches/timecond.patch --- curl-7.27.0/debian/patches/timecond.patch 1969-12-31 18:00:00.000000000 -0600 +++ curl-7.27.0/debian/patches/timecond.patch 2013-08-20 17:39:29.000000000 -0500 @@ -0,0 +1,24 @@ +From b4e6a3a974c24ca2aee77150a633ac85e807a3e7 Mon Sep 17 00:00:00 2001 +From: Alessandro Ghedini +Date: Sat, 20 Apr 2013 12:09:55 +0200 +Subject: [PATCH] getinfo.c: reset timecond when clearing session-info + variables + +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705783 +Reported-by: Ludovico Cavedon +--- + lib/getinfo.c | 1 + + 1 file changed, 1 insertion(+) + +Index: curl-7.22.0/lib/getinfo.c +=================================================================== +--- curl-7.22.0.orig/lib/getinfo.c 2011-08-09 06:21:47.000000000 -0500 ++++ curl-7.22.0/lib/getinfo.c 2013-07-17 15:32:34.179709003 -0500 +@@ -54,6 +54,7 @@ + info->httpcode = 0; + info->httpversion=0; + info->filetime=-1; /* -1 is an illegal time and thus means unknown */ ++ info->timecond=0; + + if(info->contenttype) + free(info->contenttype);