mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
Fix DoS.
This commit is contained in:
parent
490ffcf406
commit
e8f57bd0fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61630
@ -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
|
||||
|
10
mail/courier-imap/files/patch-rfc822_parsedt.c
Normal file
10
mail/courier-imap/files/patch-rfc822_parsedt.c
Normal file
@ -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++)
|
Loading…
Reference in New Issue
Block a user