diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 19:58:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 19:58:53 +0100 |
commit | adab5aeec61fe929e5a817ec8034d98caab9ddbe (patch) | |
tree | b1edc4f239d68ba31ab2e5ba8def5091023c2691 /mail-mta/exim/files | |
parent | 12652841746da7ae2f03b8b0c571a9bd5033e15c (diff) |
gentoo auto-resync : 19:10:2022 - 19:58:53
Diffstat (limited to 'mail-mta/exim/files')
-rw-r--r-- | mail-mta/exim/files/exim-4.94-CVE-2022-3559.patch | 4 |
1 files changed, 3 insertions, 1 deletions
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 8793514b8fb7..533aaf1f9e51 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 @@ -69,7 +69,7 @@ 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 @@ +@@ -213,3 +205,14 @@ } #endif /* WITH_CONTENT_SCAN */ @@ -78,7 +78,9 @@ Subject: [PATCH 1/1] Fix $regex<n> use-after-free. Bug 2915 +void +regex_vars_clear(void) +{ ++#ifdef WITH_CONTENT_SCAN +regex_match_string = NULL; ++#endif +for (int i = 0; i < REGEX_VARS; i++) regex_vars[i] = NULL; +} + |