summaryrefslogtreecommitdiff
path: root/mail/popper
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-06-28 21:44:59 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-06-28 21:44:59 +0000
commit27ccfb65b02cc47ea50abe6f28b3655a85afd13f (patch)
treefddeb15555928c2bfea04a34775f83a1e3294370 /mail/popper
parentPrevent overflow on too long From: (diff)
Increase allowed UIDL length to 70 chars per rfc1939
Notes
Notes: svn path=/head/; revision=11590
Diffstat (limited to 'mail/popper')
-rw-r--r--mail/popper/files/patch-ai2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/popper/files/patch-ai b/mail/popper/files/patch-ai
index 8e3af1eb297f..6eb95235297c 100644
--- a/mail/popper/files/patch-ai
+++ b/mail/popper/files/patch-ai
@@ -25,7 +25,7 @@
cp = &buffer[7];
while (*cp && (*cp == ' ' || *cp == '\t')) cp++;
! l = strlen(cp);
-! if(l < DIG_SIZE || l > DIG_SIZE * 3) /* To account for the empty UIDL string */
+! if(l < DIG_SIZE || l > 70/*rfc1939*/) /* To account for the empty UIDL string */
{
uidl_found--; /*roll over as though it hasn't seen anything*/
continue;