aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-06-29 05:44:59 +0800
committerache <ache@FreeBSD.org>1998-06-29 05:44:59 +0800
commit585ef3ddf2b7aaaf1e2655821e1aa875de88c878 (patch)
tree3eae94fca0d8dd1574e1c2cf98d5f8eba7ef45cd /mail
parent1d0209d8ffd2adbb985e198e6c1bb8fcc461a67a (diff)
downloadfreebsd-ports-gnome-585ef3ddf2b7aaaf1e2655821e1aa875de88c878.tar.gz
freebsd-ports-gnome-585ef3ddf2b7aaaf1e2655821e1aa875de88c878.tar.zst
freebsd-ports-gnome-585ef3ddf2b7aaaf1e2655821e1aa875de88c878.zip
Increase allowed UIDL length to 70 chars per rfc1939
Diffstat (limited to 'mail')
-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;