public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: adapt tests 815 and 816 such that they work with the fix for CVE-2014-0138
Date: Mon, 02 Nov 2026 14:28:30 GMT	[thread overview]
Message-ID: <179362971057.1.2689501330017203855.rpms-curl-e4d3e72cd652@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : e4d3e72cd652f2789623ee47efc8361cb2a51481
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2014-03-26T23:43:07+01:00
Stats  : +50/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/e4d3e72cd652f2789623ee47efc8361cb2a51481?branch=curl-v8.21.0-9

Log:
adapt tests 815 and 816 such that they work with the fix for CVE-2014-0138

---
diff --git a/0001-curl-7.36.0-f82e0edc.patch b/0001-curl-7.36.0-f82e0edc.patch
new file mode 100644
index 0000000..d054083
--- /dev/null
+++ b/0001-curl-7.36.0-f82e0edc.patch
@@ -0,0 +1,46 @@
+From 29c2b12b636304c1e357f543be3d6da34e5d832d Mon Sep 17 00:00:00 2001
+From: Dan Fandrich <dan@coneharvesters.com>
+Date: Wed, 26 Mar 2014 22:02:31 +0100
+Subject: [PATCH] test815/816: Use authentication for both URLs
+
+The improved connection reuse logic would otherwise create a new
+connection for each one, which isn't supported by the test
+server, nor expected by the test.
+
+[upstream commit f82e0edc171b33528bc4f59036505d98ecf1d816]
+
+Signed-off-by: Kamil Dudka <kdudka@redhat.com>
+---
+ tests/data/test815 |    2 +-
+ tests/data/test816 |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/data/test815 b/tests/data/test815
+index c006c6d..5c5ef79 100644
+--- a/tests/data/test815
++++ b/tests/data/test815
+@@ -26,7 +26,7 @@ imap
+ IMAP STORE - delete message (CUSTOMREQUEST)
+  </name>
+  <command>
+-imap://%HOSTIP:%IMAPPORT/815 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/815 -X CLOSE
++imap://%HOSTIP:%IMAPPORT/815 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/815 -X CLOSE -u user:secret
+ </command>
+ </client>
+ 
+diff --git a/tests/data/test816 b/tests/data/test816
+index 386f877..b8b1a9d 100644
+--- a/tests/data/test816
++++ b/tests/data/test816
+@@ -29,7 +29,7 @@ imap
+ IMAP STORE - delete message with confirmation (CUSTOMREQUEST)
+  </name>
+  <command>
+-imap://%HOSTIP:%IMAPPORT/816 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/816 -X EXPUNGE
++imap://%HOSTIP:%IMAPPORT/816 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/816 -X EXPUNGE -u user:secret
+ </command>
+ </client>
+ 
+-- 
+1.7.1
+

diff --git a/curl.spec b/curl.spec
index f2003ff..f8fc128 100644
--- a/curl.spec
+++ b/curl.spec
@@ -7,6 +7,9 @@ Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
 Source2: curlbuild.h
 
+# adapt tests 815 and 816 such that they work with the fix for CVE-2014-0138
+Patch1: 0001-curl-7.36.0-f82e0edc.patch
+
 # patch making libcurl multilib ready
 Patch101: 0101-curl-7.32.0-multilib.patch
 
@@ -119,6 +122,7 @@ documentation of the library, too.
 %setup -q
 
 # upstream patches
+%patch1 -p1
 
 # Fedora patches
 %patch101 -p1

                 reply	other threads:[~2026-11-02 14:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179362971057.1.2689501330017203855.rpms-curl-e4d3e72cd652@fedoraproject.org \
    --to=kdudka@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox