aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch')
-rw-r--r--recipes/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch b/recipes/fetchmail/fetchmail-6.3.8/CVE-2007-4565.patch
new file mode 100644
index 0000000000..d0926848c2
--- /dev/null
+++ b/recipes/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)