You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
873 B

Index: socket.c
--- socket.c.orig 2006-12-17 01:05:31 +0100
+++ socket.c 2007-01-06 09:43:51 +0100
@@ -9,6 +9,8 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <time.h>
+#include <sys/time.h>
#include <ctype.h> /* isspace() */
#ifdef HAVE_MEMORY_H
#include <memory.h>
-----------------------------------------------------------------------------
Security Fix
http://fetchmail.berlios.de/fetchmail-SA-2007-02.txt
Index: sink.c
--- sink.c (revision 5118)
+++ sink.c (revision 5119)
@@ -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)