public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10: reflect change in sasl_encode64 abi(null terminator) - #501452
@ 2026-08-26 8:06 Ondrej Vasik
0 siblings, 0 replies; only message in thread
From: Ondrej Vasik @ 2026-08-26 8:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/inn
Branch : epel10
Commit : 8873615a88e184fab15ba97882a6575bb637c337
Author : Ondrej Vasik <ovasik@fedoraproject.org>
Date : 2009-05-19T14:30:58+00:00
Stats : +18/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/inn/c/8873615a88e184fab15ba97882a6575bb637c337?branch=epel10
Log:
reflect change in sasl_encode64 abi(null terminator) - #501452
---
diff --git a/inn-sasl_encode64nullterm.patch b/inn-sasl_encode64nullterm.patch
new file mode 100644
index 0000000..e6b07da
--- /dev/null
+++ b/inn-sasl_encode64nullterm.patch
@@ -0,0 +1,12 @@
+diff -urNp inn-2.4.6-orig/innfeed/imap_connection.c inn-2.4.6/innfeed/imap_connection.c
+--- inn-2.4.6-orig/innfeed/imap_connection.c 2009-05-19 16:23:27.000000000 +0200
++++ inn-2.4.6/innfeed/imap_connection.c 2009-05-19 16:25:43.000000000 +0200
+@@ -2428,7 +2428,7 @@ static conn_ret imap_sendAuthStep(connec
+
+ /* convert to base64 */
+ saslresult = sasl_encode64(out, outlen,
+- inbase64, outlen*2, (unsigned *) &inbase64len);
++ inbase64, outlen*2 + 1, (unsigned *) &inbase64len);
+
+ if (saslresult != SASL_OK) return RET_FAIL;
+
diff --git a/inn.spec b/inn.spec
index 6c3e202..ee94412 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
Summary: The InterNetNews system, an Usenet news server
Name: inn
Version: 2.4.6
-Release: 1%{?dist}
+Release: 2%{?dist}
#see LICENSE file for details
License: GPL+ and BSD and MIT and Public Domain
Group: System Environment/Daemons
@@ -23,6 +23,7 @@ Patch8: inn-2.4.2-makedbz.patch
Patch9: inn-2.4.3.rcreaderaddrinuse.patch
Patch10: inn-2.4.3-nologinshell.patch
Patch11: inn-2.4.5-dynlib.patch
+Patch12: inn-sasl_encode64nullterm.patch
BuildRequires: perl-devel python db4-devel byacc krb5-devel pam-devel e2fsprogs-devel
BuildRequires: perl(ExtUtils::Embed)
Requires(pre): shadow-utils
@@ -93,6 +94,7 @@ exit 0
%patch9 -p1 -b .addrinuse
%patch10 -p1 -b .nologin
%patch11 -p1 -b .dynlib
+%patch12 -p1 -b .nullterm
perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f`
perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
@@ -354,6 +356,9 @@ exit 0
%{_mandir}/man1/inews*
%changelog
+* Tue May 19 2009 Ondrej Vasik <ovasik@redhat.com> - 2.4.6-2
+- reflect change in sasl_encode64 abi(null terminator) - #501452
+
* Wed Mar 11 2009 Ondrej Vasik <ovasik@redhat.com> - 2.4.6-1
- new bugfix upstream release 2.4.6
- no strict aliasing, remove pyo/.pyc filters files from list
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-26 8:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 8:06 [rpms/inn] epel10: reflect change in sasl_encode64 abi(null terminator) - #501452 Ondrej Vasik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox