commit cyrus-imapd for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package cyrus-imapd for openSUSE:Factory checked in at 2017-06-26 15:56:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cyrus-imapd (Old) and /work/SRC/openSUSE:Factory/.cyrus-imapd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cyrus-imapd" Mon Jun 26 15:56:43 2017 rev:67 rq:506147 version:2.4.19 Changes: -------- --- /work/SRC/openSUSE:Factory/cyrus-imapd/cyrus-imapd.changes 2017-06-22 10:40:49.309995002 +0200 +++ /work/SRC/openSUSE:Factory/.cyrus-imapd.new/cyrus-imapd.changes 2017-06-26 15:56:44.661747673 +0200 @@ -1,0 +2,6 @@ +Sun Jun 25 21:22:24 UTC 2017 - aj@ajaissle.de + +- Add cyrus-imapd-2.4.19-lmtpd_crash.patch: + * lmtpd: fix uninitialised variable crash [boo#1045899] + +------------------------------------------------------------------- New: ---- cyrus-imapd-2.4.19-lmtpd_crash.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cyrus-imapd.spec ++++++ --- /var/tmp/diff_new_pack.0bLgLN/_old 2017-06-26 15:56:45.377646706 +0200 +++ /var/tmp/diff_new_pack.0bLgLN/_new 2017-06-26 15:56:45.381646142 +0200 @@ -62,6 +62,8 @@ Patch28: cyrus-imapd-2.4.19-implicit_definitions.patch # PATCH-FIX-UPSTREAM -- Outlook 2013-compatible XLIST behaviour Patch31: cyrus-imapd-2.4.18-D19-Outlook_2013_XLIST.patch +# PATCH-FIX-UPSTREAM -- lmtpd: fix uninitialised variable crash +Patch32: cyrus-imapd-2.4.19-lmtpd_crash.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -218,6 +220,7 @@ %patch27 -p1 %patch28 -p1 %patch31 -p1 +%patch32 -p1 # remove executable bit from docs find doc -type f -name '*.html' -exec chmod -x {} \; ++++++ cyrus-imapd-2.4.19-lmtpd_crash.patch ++++++
From 129d3aedbba82d6457fc7cbd436e68f278e0628b Mon Sep 17 00:00:00 2001 From: ellie timoney
Date: Mon, 22 May 2017 13:06:04 +1000 Subject: [PATCH] lmtpd: fix uninitialised variable crash
--- imap/lmtpd.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/imap/lmtpd.c b/imap/lmtpd.c index 5fe507a80..7428f72b5 100644 --- a/imap/lmtpd.c +++ b/imap/lmtpd.c @@ -712,9 +712,10 @@ int deliver(message_data_t *msgdata, char *authuser, /* loop through each recipient, attempting delivery for each */ for (n = 0; n < nrcpts; n++) { - char namebuf[MAX_MAILBOX_BUFFER] = "", *server; + char namebuf[MAX_MAILBOX_BUFFER] = ""; char userbuf[MAX_MAILBOX_BUFFER]; const char *rcpt, *user, *domain, *mailbox; + char *server = NULL; int r = 0; rcpt = msg_getrcptall(msgdata, n); @@ -954,7 +955,7 @@ static int verify_user(const char *user, const char *domain, char *mailbox, } if (!r) { - char *server, *acl; + char *server = NULL, *acl = NULL; long aclcheck = !user ? ACL_POST : 0; /* * check to see if mailbox exists and we can append to it: @@ -1061,8 +1062,9 @@ FILE *spoolfile(message_data_t *msgdata) (don't bother if we're only a proxy) */ n = isproxy ? 0 : msg_getnumrcpt(msgdata); for (i = 0; !f && (i < n); i++) { - char namebuf[MAX_MAILBOX_BUFFER] = "", *server; + char namebuf[MAX_MAILBOX_BUFFER] = ""; const char *user, *domain, *mailbox; + char *server = NULL; int r; /* build the mailboxname from the recipient address */
participants (1)
-
root@hilbert.suse.de