From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/exim/, mail-mta/exim/files/
Date: Wed, 19 Oct 2022 09:20:52 +0000 (UTC) [thread overview]
Message-ID: <1666171250.c1ee45f74e9ab5f27b279d1a604f6dc71f7685b7.grobian@gentoo> (raw)
commit: c1ee45f74e9ab5f27b279d1a604f6dc71f7685b7
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 19 09:18:29 2022 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 09:20:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ee45f7
mail-mta/exim-4.94.2-r10: revbump to fix compilation with exiscan
The CVE patch broke compilation when content scanning is not enabled.
Ensure the regex_vars_clear function is always built.
Closes: https://bugs.gentoo.org/877633
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
...xim-4.94.2-r9.ebuild => exim-4.94.2-r10.ebuild} | 0
mail-mta/exim/files/exim-4.94-CVE-2022-3559.patch | 28 ++++++++++------------
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/mail-mta/exim/exim-4.94.2-r9.ebuild b/mail-mta/exim/exim-4.94.2-r10.ebuild
similarity index 100%
rename from mail-mta/exim/exim-4.94.2-r9.ebuild
rename to mail-mta/exim/exim-4.94.2-r10.ebuild
diff --git a/mail-mta/exim/files/exim-4.94-CVE-2022-3559.patch b/mail-mta/exim/files/exim-4.94-CVE-2022-3559.patch
index 9617c70d9e57..8793514b8fb7 100644
--- a/mail-mta/exim/files/exim-4.94-CVE-2022-3559.patch
+++ b/mail-mta/exim/files/exim-4.94-CVE-2022-3559.patch
@@ -50,21 +50,6 @@ Subject: [PATCH 1/1] Fix $regex<n> use-after-free. Bug 2915
#endif
--- exim-4.94.2/src/regex.c 2021-04-30 14:08:21.000000000 +0200
+++ exim-4.94.2/src/regex.c 2022-10-19 09:35:03.229084750 +0200
-@@ -87,6 +87,14 @@
- return FAIL;
- }
-
-+/* reset expansion variables */
-+void
-+regex_vars_clear(void)
-+{
-+regex_match_string = NULL;
-+for (int i = 0; i < REGEX_VARS; i++) regex_vars[i] = NULL;
-+}
-+
- int
- regex(const uschar **listptr)
- {
@@ -98,7 +106,7 @@
int ret = FAIL;
@@ -84,6 +69,19 @@ Subject: [PATCH 1/1] Fix $regex<n> use-after-free. Bug 2915
/* precompile our regexes */
if (!(re_list_head = compile(*listptr)))
+@@ -213,3 +205,12 @@
+ }
+
+ #endif /* WITH_CONTENT_SCAN */
++
++/* reset expansion variables */
++void
++regex_vars_clear(void)
++{
++regex_match_string = NULL;
++for (int i = 0; i < REGEX_VARS; i++) regex_vars[i] = NULL;
++}
++
--- exim-4.94.2/src/smtp_in.c 2021-04-30 14:08:21.000000000 +0200
+++ exim-4.94.2/src/smtp_in.c 2022-10-19 09:15:58.613447975 +0200
@@ -2161,8 +2161,10 @@
next reply other threads:[~2022-10-19 9:20 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-19 9:20 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-21 7:40 [gentoo-commits] repo/gentoo:master commit in: mail-mta/exim/, mail-mta/exim/files/ Fabian Groffen
2024-02-16 12:08 Fabian Groffen
2024-02-11 20:07 Fabian Groffen
2024-01-28 18:20 Fabian Groffen
2024-01-12 11:56 Fabian Groffen
2023-12-25 10:42 Fabian Groffen
2023-12-25 10:42 Fabian Groffen
2023-11-08 8:03 Fabian Groffen
2023-05-27 9:25 Fabian Groffen
2023-01-03 10:22 Fabian Groffen
2020-06-08 8:06 Fabian Groffen
2020-05-13 7:45 Fabian Groffen
2020-05-09 9:57 Fabian Groffen
2019-08-02 6:44 Fabian Groffen
2019-06-11 8:17 Fabian Groffen
2019-02-19 12:20 Fabian Groffen
2017-10-08 9:24 Fabian Groffen
2017-10-05 13:39 Fabian Groffen
2017-09-20 6:47 Fabian Groffen
2017-06-19 16:06 Thomas Deutschmann
2017-03-11 7:58 Fabian Groffen
2016-07-08 11:28 Fabian Groffen
2016-03-04 10:58 Fabian Groffen
2015-12-11 9:23 Fabian Groffen
2015-10-19 10:52 Sergey Popov
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=1666171250.c1ee45f74e9ab5f27b279d1a604f6dc71f7685b7.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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