diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-09-16 19:19:48 +0200 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-17 07:58:46 +0100 |
commit | 9fc8c26fc287389eebef240d4c3418ea67821dc8 (patch) | |
tree | 2d97f4c3e4114874e1306b7ef4f876653e478560 /net-ftp/proftpd/files/proftpd-1.3.7_rc4-ldap_mod-SEGV.patch | |
parent | www-client/opera-developer: Version 72.0.3814.0 (diff) | |
download | gentoo-9fc8c26fc287389eebef240d4c3418ea67821dc8.tar.gz gentoo-9fc8c26fc287389eebef240d4c3418ea67821dc8.tar.bz2 gentoo-9fc8c26fc287389eebef240d4c3418ea67821dc8.zip |
net-ftp/proftpd: remove unused patches
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17568
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-ftp/proftpd/files/proftpd-1.3.7_rc4-ldap_mod-SEGV.patch')
-rw-r--r-- | net-ftp/proftpd/files/proftpd-1.3.7_rc4-ldap_mod-SEGV.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/net-ftp/proftpd/files/proftpd-1.3.7_rc4-ldap_mod-SEGV.patch b/net-ftp/proftpd/files/proftpd-1.3.7_rc4-ldap_mod-SEGV.patch deleted file mode 100644 index 2f50a28b87fd..000000000000 --- a/net-ftp/proftpd/files/proftpd-1.3.7_rc4-ldap_mod-SEGV.patch +++ /dev/null @@ -1,38 +0,0 @@ -https://github.com/proftpd/proftpd/issues/1027 -https://bugs.gentoo.org/726460 - -From 6ac1c727ddfd70080b38097e5484390ec84ef9be Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich <slyfox@gentoo.org> -Date: Sun, 31 May 2020 17:55:08 +0100 -Subject: [PATCH 1/2] contrib/mod_ldap.c: fix SIGSEGV in mod_ldap:ldap_mod_init - () - -The crash happens due to missing sentinel value in `pstrcat()` - -```c - feats = pstrcat(tmp_pool, feats, i != 0 ? ", " : "", - api_info.ldapai_extensions[i]); -``` - -The change is to add sentinel to `pstrcat()` call. - -Bug: https://github.com/proftpd/proftpd/issues/1027 -Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> ---- - contrib/mod_ldap.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/contrib/mod_ldap.c -+++ b/contrib/mod_ldap.c -@@ -3218,7 +3218,7 @@ static int ldap_mod_init(void) { - - for (i = 0; api_info.ldapai_extensions[i]; i++) { - feats = pstrcat(tmp_pool, feats, i != 0 ? ", " : "", -- api_info.ldapai_extensions[i]); -+ api_info.ldapai_extensions[i], NULL); - ldap_memfree(api_info.ldapai_extensions[i]); - } - --- -2.26.2 - |