diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2002-06-20 12:19:21 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2002-06-20 12:19:21 +0000 |
commit | e8f57bd0fd53bb9bdfc7f2bfed7fccf7c57c8a52 (patch) | |
tree | 9deac8809824f59e64b74281211d7be4027aa47d | |
parent | * Always use /bin/sh for configure and build. (diff) |
Fix DoS.
Notes
Notes:
svn path=/head/; revision=61630
-rw-r--r-- | mail/courier-imap/Makefile | 2 | ||||
-rw-r--r-- | mail/courier-imap/files/patch-rfc822_parsedt.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index ba260da92435..a65300a387d1 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -7,7 +7,7 @@ PORTNAME= courier-imap PORTVERSION= 1.4.3 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier diff --git a/mail/courier-imap/files/patch-rfc822_parsedt.c b/mail/courier-imap/files/patch-rfc822_parsedt.c new file mode 100644 index 000000000000..0ae0a53c53c9 --- /dev/null +++ b/mail/courier-imap/files/patch-rfc822_parsedt.c @@ -0,0 +1,10 @@ +--- rfc822/rfc822_parsedt.c.orig Mon Jun 17 08:48:45 2002 ++++ rfc822/rfc822_parsedt.c Mon Jun 17 08:49:39 2002 +@@ -199,6 +199,7 @@ + } + + if (year < 1970) return (0); ++ if (year > 9999) return (0); + + t=0; + for (y=1970; y<year; y++) |