summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-04-28 09:45:22 +0200
committerFabian Groffen <grobian@gentoo.org>2018-04-28 10:54:06 +0200
commit0d2ad91a2a60915a6988a7a7889f81fdbe57f358 (patch)
tree676529fd80b8ba940e91256a0eea15ede73757be /mail-mta/exim/files/exim-4.89-CVE-2017-16943.patch
parentdev-ruby/multi_json: add ruby25 (diff)
downloadgentoo-0d2ad91a2a60915a6988a7a7889f81fdbe57f358.tar.gz
gentoo-0d2ad91a2a60915a6988a7a7889f81fdbe57f358.tar.bz2
gentoo-0d2ad91a2a60915a6988a7a7889f81fdbe57f358.zip
mail-mta/exim: remove unused patches
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'mail-mta/exim/files/exim-4.89-CVE-2017-16943.patch')
-rw-r--r--mail-mta/exim/files/exim-4.89-CVE-2017-16943.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/mail-mta/exim/files/exim-4.89-CVE-2017-16943.patch b/mail-mta/exim/files/exim-4.89-CVE-2017-16943.patch
deleted file mode 100644
index b864ffa5ad17..000000000000
--- a/mail-mta/exim/files/exim-4.89-CVE-2017-16943.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 4e6ae6235c68de243b1c2419027472d7659aa2b4 Mon Sep 17 00:00:00 2001
-From: Jeremy Harris <jgh146exb@wizmail.org>
-Date: Fri, 24 Nov 2017 20:22:33 +0000
-Subject: [PATCH] Avoid release of store if there have been later allocations.
- Bug 2199
-
----
- src/src/receive.c | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/src/src/receive.c b/src/src/receive.c
-index e7e518a..d9b5001 100644
---- a/src/src/receive.c
-+++ b/src/src/receive.c
-@@ -1810,8 +1810,8 @@ for (;;)
- (and sometimes lunatic messages can have ones that are 100s of K long) we
- call store_release() for strings that have been copied - if the string is at
- the start of a block (and therefore the only thing in it, because we aren't
-- doing any other gets), the block gets freed. We can only do this because we
-- know there are no other calls to store_get() going on. */
-+ doing any other gets), the block gets freed. We can only do this release if
-+ there were no allocations since the once that we want to free. */
-
- if (ptr >= header_size - 4)
- {
-@@ -1820,9 +1820,10 @@ for (;;)
- header_size *= 2;
- if (!store_extend(next->text, oldsize, header_size))
- {
-+ BOOL release_ok = store_last_get[store_pool] == next->text;
- uschar *newtext = store_get(header_size);
- memcpy(newtext, next->text, ptr);
-- store_release(next->text);
-+ if (release_ok) store_release(next->text);
- next->text = newtext;
- }
- }
---
-1.9.1
-