diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-05-25 07:50:10 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-05-25 07:50:10 +0000 |
commit | a11b23934f0e23fc6a278e3f17140906f1440fe3 (patch) | |
tree | 59d467b04222b87c09e9fc678580947b97dfb027 | |
parent | The FTP server got rearranged (apparently, about 11 months ago). (diff) |
unFORBID this port by closing the overflow
Notes
Notes:
svn path=/head/; revision=28742
-rw-r--r-- | mail/popper/Makefile | 2 | ||||
-rw-r--r-- | mail/popper/files/patch-an | 22 | ||||
-rw-r--r-- | mail/qpopper/Makefile | 2 |
3 files changed, 20 insertions, 6 deletions
diff --git a/mail/popper/Makefile b/mail/popper/Makefile index 475d5eb758fa..097d8d9d8c82 100644 --- a/mail/popper/Makefile +++ b/mail/popper/Makefile @@ -14,8 +14,6 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= ache@freebsd.org -FORBIDDEN= "Remote buffer overflow yielding gid mail" - # Set POPD_YOUBIN_SUPPORT variable in the environment to enable # youbin support. # diff --git a/mail/popper/files/patch-an b/mail/popper/files/patch-an index e255bf9046f5..cac9402c9821 100644 --- a/mail/popper/files/patch-an +++ b/mail/popper/files/patch-an @@ -1,5 +1,14 @@ ---- pop_uidl.c.old Fri Jul 10 03:44:08 1998 -+++ pop_uidl.c Mon Apr 17 22:56:13 2000 +--- pop_uidl.c.orig Thu Jul 9 16:44:08 1998 ++++ pop_uidl.c Thu May 25 00:45:38 2000 +@@ -59,7 +59,7 @@ + + sprintf(buffer, "%d %s", msg_id, mp->uidl_str); + if (nl = index(buffer, NEWLINE)) *nl = 0; +- return (pop_msg (p,POP_SUCCESS, buffer)); ++ return (pop_msg (p,POP_SUCCESS, "%s", buffer)); + } + } else { + /* yes, we can do this */ @@ -98,6 +98,7 @@ { static char buf[MAXLINELEN]; @@ -17,6 +26,15 @@ return(cp); } } +@@ -149,7 +152,7 @@ + sprintf(buffer, "%d %s", msg_id, mp->uidl_str); + if (nl = index(buffer, NEWLINE)) *nl = 0; + sprintf(buffer, "%s %d %.128s", buffer, mp->length, from_hdr(p, mp)); +- return (pop_msg (p,POP_SUCCESS, buffer)); ++ return (pop_msg (p,POP_SUCCESS, "%s", buffer)); + } + } else { + /* yes, we can do this */ @@ -165,7 +168,7 @@ sprintf(buffer, "%d %s", x, mp->uidl_str); diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile index 475d5eb758fa..097d8d9d8c82 100644 --- a/mail/qpopper/Makefile +++ b/mail/qpopper/Makefile @@ -14,8 +14,6 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= ache@freebsd.org -FORBIDDEN= "Remote buffer overflow yielding gid mail" - # Set POPD_YOUBIN_SUPPORT variable in the environment to enable # youbin support. # |