public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: ftp: fix typo in recursive callback detection for seeking
@ 2026-11-03 12:36 Kamil Dudka
0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : 6402b496fc8694007323fb04774d5bdb44e14bbe
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2018-03-14T14:43:54+01:00
Stats : +37/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/6402b496fc8694007323fb04774d5bdb44e14bbe?branch=curl-v8.23.0-3
Log:
ftp: fix typo in recursive callback detection for seeking
---
diff --git a/0001-curl-7.58.0-ftp-typo-in-recursive-callback-detection.patch b/0001-curl-7.58.0-ftp-typo-in-recursive-callback-detection.patch
new file mode 100644
index 0000000..224630c
--- /dev/null
+++ b/0001-curl-7.58.0-ftp-typo-in-recursive-callback-detection.patch
@@ -0,0 +1,29 @@
+From 1b02cb2b51148915b2ba025bb262ef34f369fa4b Mon Sep 17 00:00:00 2001
+From: dasimx <g9264140@trbvm.com>
+Date: Wed, 14 Mar 2018 11:02:05 +0100
+Subject: [PATCH] FTP: fix typo in recursive callback detection for seeking
+
+Fixes #2380
+
+Upstream-commit: 920f73a6906dce87c6ee87c32b109a287189965d
+Signed-off-by: Kamil Dudka <kdudka@redhat.com>
+---
+ lib/ftp.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ftp.c b/lib/ftp.c
+index e2cc38b..0cc583b 100644
+--- a/lib/ftp.c
++++ b/lib/ftp.c
+@@ -1621,7 +1621,7 @@ static CURLcode ftp_state_ul_setup(struct connectdata *conn,
+ Curl_set_in_callback(data, true);
+ seekerr = conn->seek_func(conn->seek_client, data->state.resume_from,
+ SEEK_SET);
+- Curl_set_in_callback(data, true);
++ Curl_set_in_callback(data, false);
+ }
+
+ if(seekerr != CURL_SEEKFUNC_OK) {
+--
+2.14.3
+
diff --git a/curl.spec b/curl.spec
index 0083ed1..d722f07 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,10 +1,13 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.59.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
Source: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
+# ftp: fix typo in recursive callback detection for seeking
+Patch1: 0001-curl-7.58.0-ftp-typo-in-recursive-callback-detection.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -151,6 +154,7 @@ be installed.
%setup -q
# upstream patches
+%patch1 -p1
# Fedora patches
%patch101 -p1
@@ -296,6 +300,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog
+* Wed Mar 14 2018 Kamil Dudka <kdudka@redhat.com> - 7.59.0-2
+- ftp: fix typo in recursive callback detection for seeking
+
* Wed Mar 14 2018 Kamil Dudka <kdudka@redhat.com> - 7.59.0-1
- new upstream release, which fixes the following vulnerabilities
CVE-2018-1000120 - FTP path trickery leads to NIL byte out of bounds write
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 12:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:36 [rpms/curl] curl-v8.23.0-3: ftp: fix typo in recursive callback detection for seeking Kamil Dudka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox