public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Vasik <ovasik@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/inn] epel10: reflect change in sasl_encode64 abi(null terminator) - #501452
Date: Wed, 26 Aug 2026 08:06:00 GMT	[thread overview]
Message-ID: <178773156070.1.17350785062439380324.rpms-inn-8873615a88e1@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-26  8:06 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=178773156070.1.17350785062439380324.rpms-inn-8873615a88e1@fedoraproject.org \
    --to=ovasik@fedoraproject.org \
    --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