Line 0
Link Here
|
|
|
1 |
--- sink.c (revision 5118) |
2 |
+++ sink.c (revision 5119) |
3 |
@@ -262,7 +262,7 @@ |
4 |
const char *md1 = "MAILER-DAEMON", *md2 = "MAILER-DAEMON@"; |
5 |
|
6 |
/* don't bounce in reply to undeliverable bounces */ |
7 |
- if (!msg->return_path[0] || |
8 |
+ if (!msg || !msg->return_path[0] || |
9 |
strcmp(msg->return_path, "<>") == 0 || |
10 |
strcasecmp(msg->return_path, md1) == 0 || |
11 |
strncasecmp(msg->return_path, md2, strlen(md2)) == 0) |