summaryrefslogtreecommitdiff
path: root/packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-06-17 16:40:27 +0000
committerMike Westerhof <mwester@dls.net>2008-06-17 16:40:27 +0000
commit3e927d97d850e816b26384e7c3371e0a0258f26f (patch)
tree454e505b32461fa70068681fcffcb017cfabff89 /packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch
parent8865ca85d48964406a5a610cfbda483ad9d2224b (diff)
fetchmail: updated to latest release with security patch.
Now also creates the fetchmailconf package.
Diffstat (limited to 'packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch')
-rw-r--r--packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch b/packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch
new file mode 100644
index 0000000000..d0926848c2
--- /dev/null
+++ b/packages/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch
@@ -0,0 +1,11 @@
+--- fetchmail-6.3.8-orig/sink.c
++++ fetchmail-6.3.8/sink.c
+@@ -262,7 +262,7 @@
+ const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@";
+
+ /* don't bounce in reply to undeliverable bounces */
+- if (!msg->return_path[0] ||
++ if (!msg || !msg->return_path[0] ||
+ strcmp(msg->return_path, "<>") == 0 ||
+ strcasecmp(msg->return_path, md1) == 0 ||
+ strncasecmp(msg->return_path, md2, strlen(md2)) == 0)