add patch
This commit is contained in:
parent
8824613a1c
commit
7bf31e7f0b
11
fetchmail-6.3.8-CVE-2007-4565.patch
Normal file
11
fetchmail-6.3.8-CVE-2007-4565.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- fetchmail-6.3.8/sink.c_old 2007-03-30 00:45:17.000000000 +0200
|
||||||
|
+++ fetchmail-6.3.8/sink.c 2007-09-04 13:30:35.000000000 +0200
|
||||||
|
@@ -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)
|
Loading…
Reference in New Issue
Block a user