public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/proftpd] f44: Update to 1.3.9e
@ 2026-10-27 19:07 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-27 19:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/proftpd
Branch : f44
Commit : 36e4954fe7bf63b9e2619ea638e240ee38259d7d
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-10-27T18:10:43+00:00
Stats : +27/-174 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/proftpd/c/36e4954fe7bf63b9e2619ea638e240ee38259d7d?branch=f44
Log:
Update to 1.3.9e
- New upstream release 1.3.9e
- Insufficient validation of FTP RANG, REST parameters could lead to use of
negative file offsets (GH#2286)
- Regression with custom user/group info SQLNamedQuery in 1.3.9d (GH#2293)
- Unauthenticated SNMP UDP packets kill SNMP agent due to underflow
computation (GH#2301)
- Stale password-less authentication flag in mod_auth could allow wrong
passwords to authenticate (GH#2319)
- Stack overflow possible via long PASS text in mod_radius module (GH#2330)
- Error out if configured for SSL/TLS Redis usage, but hiredis library lacks
SSL/TLS support (GH#2344)
- Support using Huffman encoding only for SSH channel compression (GH#2366)
- FTP TLSv1.3 uploads may fail with ECONNRESET if client does not provide
session ticket for data transfer (GH#2367)
- Selection of median delay value leads to out-of-bounds read on first login
(GH#2380)
- mod_radius does not verify that UDP packets are received from the same
address to which UDP packets are sent (GH#2384)
- mod_ban SysV shared memory segment default permissions allow for local
unprivileged user read/write access (GH#2388)
---
diff --git a/.gitignore b/.gitignore
index ac03362..5e08dca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
-# rawhide/f44/f43/epel10
-/proftpd-1.3.9d.tar.gz
+# rawhide/f45/f44/f43/epel10
+/proftpd-1.3.9e.tar.gz
/v0.9.12.tar.gz
/v0.9.7.tar.gz
/v0.3.tar.gz
diff --git a/ca9a7469.patch b/ca9a7469.patch
deleted file mode 100644
index e6cb111..0000000
--- a/ca9a7469.patch
+++ /dev/null
@@ -1,164 +0,0 @@
-From ca9a7469ced3a7baf8ab9cc97f7c6b4c5ee3de75 Mon Sep 17 00:00:00 2001
-From: TJ Saunders <tj@castaglia.org>
-Date: Thu, 20 Aug 2026 10:43:43 -0700
-Subject: [PATCH] Issue #2293: Mark these internally-generated SQL lookups
- explicitly, so that they pass the implemented restrictions for resolving
- numeric variables in SQL statements.
-
-This restores the previously working behavior of `SQLNamedQuery` statements using numeric variables to provide custom user/group information.
----
- contrib/mod_sql.c | 36 ++++++++++++++++++------------------
- 1 file changed, 18 insertions(+), 18 deletions(-)
-
-diff --git a/contrib/mod_sql.c b/contrib/mod_sql.c
-index 2d78a64b5..9a7c22be9 100644
---- a/contrib/mod_sql.c
-+++ b/contrib/mod_sql.c
-@@ -1803,7 +1803,7 @@ static int sql_getuserprimarykey(cmd_rec *cmd, const char *username) {
- }
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, MOD_SQL_DEF_CONN_NAME, ptr,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, "sql_lookup", ptr,
- username));
- if (check_response(mr, 0) < 0) {
- return -1;
-@@ -1898,7 +1898,7 @@ static int sql_getgroupprimarykey(cmd_rec *cmd, const char *groupname) {
- }
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, MOD_SQL_DEF_CONN_NAME, ptr,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, "sql_lookup", ptr,
- groupname));
- if (check_response(mr, 0) < 0) {
- return -1;
-@@ -2004,7 +2004,7 @@ static struct passwd *sql_getpasswd(cmd_rec *cmd, struct passwd *p) {
-
- sql_log(DEBUG_WARN, "cache miss for user '%s'", realname);
-
-- if (!cmap.usercustom) {
-+ if (cmap.usercustom == NULL) {
- /* The following nested function calls may look a little strange, but
- * it is deliberate. We want to handle any tags/variables within the
- * cmap.userwhere string (i.e. the SQLUserWhereClause directive, if
-@@ -2031,7 +2031,7 @@ static struct passwd *sql_getpasswd(cmd_rec *cmd, struct passwd *p) {
- /* The username has been escaped according to the backend database' rules
- * at this point.
- */
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, "sql_lookup",
- cmap.usercustom, username ? username : "NULL"));
-
- if (check_response(mr, 0) < 0) {
-@@ -2066,8 +2066,8 @@ static struct passwd *sql_getpasswd(cmd_rec *cmd, struct passwd *p) {
- uidstr = pr_uid2str(cmd->tmp_pool, p->pw_uid);
- sql_log(DEBUG_WARN, "cache miss for UID '%s'", uidstr);
-
-- if (!cmap.usercustombyid) {
-- if (cmap.uidfield) {
-+ if (cmap.usercustombyid == NULL) {
-+ if (cmap.uidfield != NULL) {
- usrwhere = pstrcat(cmd->tmp_pool, cmap.uidfield, " = ", uidstr, NULL);
-
- where = sql_prepare_where(SQL_PREPARE_WHERE_FL_NO_TAGS, cmd, 2,
-@@ -2097,7 +2097,7 @@ static struct passwd *sql_getpasswd(cmd_rec *cmd, struct passwd *p) {
- } else {
- array_header *ah = NULL;
-
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, "sql_lookup",
- cmap.usercustombyid, uidstr));
- if (check_response(mr, 0) < 0) {
- return NULL;
-@@ -2337,8 +2337,8 @@ static struct group *sql_getgroup(cmd_rec *cmd, struct group *g) {
-
- sql_log(DEBUG_WARN, "cache miss for GID '%s'", gidstr);
-
-- if (!cmap.groupcustombyid) {
-- if (cmap.grpgidfield) {
-+ if (cmap.groupcustombyid == NULL) {
-+ if (cmap.grpgidfield != NULL) {
- grpwhere = pstrcat(cmd->tmp_pool, cmap.grpgidfield, " = ", gidstr,
- NULL);
-
-@@ -2364,7 +2364,7 @@ static struct group *sql_getgroup(cmd_rec *cmd, struct group *g) {
- sd = (sql_data_t *) mr->data;
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, "sql_lookup",
- cmap.groupcustombyid, gidstr));
- if (check_response(mr, 0) < 0) {
- return NULL;
-@@ -2397,7 +2397,7 @@ static struct group *sql_getgroup(cmd_rec *cmd, struct group *g) {
- * at this point.
- */
-
-- if (!cmap.groupcustombyname) {
-+ if (cmap.groupcustombyname == NULL) {
- grpwhere = pstrcat(cmd->tmp_pool, cmap.grpfield, " = '", groupname, "'",
- NULL);
-
-@@ -2413,7 +2413,7 @@ static struct group *sql_getgroup(cmd_rec *cmd, struct group *g) {
- sd = (sql_data_t *) mr->data;
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, "sql_lookup",
- cmap.groupcustombyname, groupname ? groupname : "NULL"));
- if (check_response(mr, 0) < 0) {
- return NULL;
-@@ -2574,7 +2574,7 @@ static int sql_getgroups(cmd_rec *cmd) {
-
- username = (char *) mr->data;
-
-- if (!cmap.groupcustommembers) {
-+ if (cmap.groupcustommembers == NULL) {
- if (!(pr_sql_opts & SQL_OPT_USE_NORMALIZED_GROUP_SCHEMA)) {
-
- /* Use a SELECT with a LIKE clause:
-@@ -2616,7 +2616,7 @@ static int sql_getgroups(cmd_rec *cmd) {
- /* The username has been escaped according to the backend database' rules
- * at this point.
- */
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 3, "sql_lookup",
- cmap.groupcustommembers, username));
- if (check_response(mr, 0) < 0) {
- cmd->argc = argc;
-@@ -3771,7 +3771,7 @@ MODRET sql_auth_setpwent(cmd_rec *cmd) {
- sd = (sql_data_t *) mr->data;
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, "sql_lookup",
- cmap.usercustomusersetfast));
- if (check_response(mr, 0) < 0) {
- return mr;
-@@ -3881,7 +3881,7 @@ MODRET sql_auth_setpwent(cmd_rec *cmd) {
- sd = (sql_data_t *) mr->data;
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, "sql_lookup",
- cmap.usercustomuserset));
- if (check_response(mr, 0) < 0) {
- return mr;
-@@ -4017,7 +4017,7 @@ MODRET sql_auth_setgrent(cmd_rec *cmd) {
- sd = (sql_data_t *) mr->data;
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, "sql_lookup",
- cmap.groupcustomgroupsetfast));
- if (check_response(mr, 0) < 0) {
- return mr;
-@@ -4079,7 +4079,7 @@ MODRET sql_auth_setgrent(cmd_rec *cmd) {
- sd = (sql_data_t *) mr->data;
-
- } else {
-- mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, MOD_SQL_DEF_CONN_NAME,
-+ mr = sql_lookup(sql_make_cmd(cmd->tmp_pool, 2, "sql_lookup",
- cmap.groupcustomgroupset));
- if (check_response(mr, 0) < 0) {
- return mr;
diff --git a/proftpd.spec b/proftpd.spec
index c3f641a..62a4626 100644
--- a/proftpd.spec
+++ b/proftpd.spec
@@ -17,14 +17,14 @@
%undefine _strict_symbol_defs_build
#global prever rc4
-%global baserelease 2
+%global baserelease 1
%global mod_procfs_version 0.3
%global mod_proxy_version 0.9.7
%global mod_vroot_version 0.9.12
Summary: Flexible, stable and highly-configurable FTP server
Name: proftpd
-Version: 1.3.9d
+Version: 1.3.9e
Release: %{?prever:0.}%{baserelease}%{?prever:.%{prever}}%{?dist}
License: GPL-2.0-or-later
URL: http://www.proftpd.org/
@@ -45,7 +45,6 @@ Source12: http://github.com/Castaglia/proftpd-mod_procfs/archive/v%{mod_procfs_
Patch1: proftpd-1.3.8-shellbang.patch
Patch2: mod_proxy-certificate.patch
Patch3: proftpd-1.3.4rc1-mod_vroot-test.patch
-Patch6: https://github.com/proftpd/proftpd/commit/ca9a7469.patch
BuildRequires: coreutils
BuildRequires: gcc
@@ -230,10 +229,6 @@ mv contrib/README contrib/README.contrib
# If we're running the full test suite, include the mod_vroot test
%patch -P 3 -p1 -b .test_vroot
-# Fix regression in mod_sql's SQLNamedQuery (upstream bug 4515)
-# https://github.com/proftpd/proftpd/issues/2293
-%patch -P 6 -p1
-
# Tweak logrotate script for systemd compatibility (#802178)
sed -i -e '/killall/s/test.*/systemctl try-reload-or-restart proftpd.service/' \
contrib/dist/rpm/proftpd.logrotate
@@ -473,6 +468,28 @@ fi
%{_mandir}/man1/ftpwho.1*
%changelog
+* Tue Oct 27 2026 Paul Howarth <paul@city-fan.org> - 1.3.9e-1
+- Update to 1.3.9e
+ - Insufficient validation of FTP RANG, REST parameters could lead to use of
+ negative file offsets (GH#2286)
+ - Regression with custom user/group info SQLNamedQuery in 1.3.9d (GH#2293)
+ - Unauthenticated SNMP UDP packets kill SNMP agent due to underflow
+ computation (GH#2301)
+ - Stale password-less authentication flag in mod_auth could allow wrong
+ passwords to authenticate (GH#2319)
+ - Stack overflow possible via long PASS text in mod_radius module (GH#2330)
+ - Error out if configured for SSL/TLS Redis usage, but hiredis library lacks
+ SSL/TLS support (GH#2344)
+ - Support using Huffman encoding only for SSH channel compression (GH#2366)
+ - FTP TLSv1.3 uploads may fail with ECONNRESET if client does not provide
+ session ticket for data transfer (GH#2367)
+ - Selection of median delay value leads to out-of-bounds read on first login
+ (GH#2380)
+ - mod_radius does not verify that UDP packets are received from the same
+ address to which UDP packets are sent (GH#2384)
+ - mod_ban SysV shared memory segment default permissions allow for local
+ unprivileged user read/write access (GH#2388)
+
* Mon Aug 24 2026 Paul Howarth <paul@city-fan.org> - 1.3.9d-2
- Fix regression in mod_sql's SQLNamedQuery (upstream bug 4515, GH#2293)
diff --git a/sources b/sources
index 480271f..32267be 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (proftpd-1.3.9d.tar.gz) = c939ba389cfeebb6071c2c58261802af987d12d5a71a78c9bf56861081443c7c6d27786d48e2ed96a96fb65e8dae94221aa756fc6dce6a5ccdab9d78dd9e6ee8
+SHA512 (proftpd-1.3.9e.tar.gz) = 95e2b361d6bb2df84d4994922ffa9670dd4e03cd8495eec0b32aeea5c797d6436b5f6bf6a4d1b53f770bd24bb9bb440f0996a4e725a3c10659fe23d19ed65565
SHA512 (v0.9.12.tar.gz) = a84c14b9d05c4890abe50c86f832c91fa4d0971bc2b1866a3a34d73ff85acd1e902fc0cae739e22ea46e530c73230fb005ea9edeb68fd6cfb963e0c5ca9655ec
SHA512 (v0.9.7.tar.gz) = 9979dc21ebebf5f219303769cebd73be9ab66ae7f50756fa12bdf37bcac1cdc9ac70feeb557ef16bb4bb3fcf8121aed4d16b6a0e5c0738bbcc53a0055410c3cd
SHA512 (v0.3.tar.gz) = 7b9f3812eb83e394dae894094ab28c59ff2a7e77036ea1e33c70344a26e47c13ef882affbc0316de8d763be535d7bb3d6ebda89564feacf79288cdcda9ef0f8c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-27 19:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-27 19:07 [rpms/proftpd] f44: Update to 1.3.9e Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox