blob: d0926848c2f8d774258b6b31a3463c54a16cd8b0 (
plain)
1
2
3
4
5
6
7
8
9
10
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)
|