summaryrefslogtreecommitdiffstats
path: root/mail/procmail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-11-17 06:49:39 +0000
committerache <ache@FreeBSD.org>2004-11-17 06:49:39 +0000
commit96c26d86fc7e5aed21f87d0f0012e110074155a5 (patch)
treedd6212b4b9953b7444ea04f2937ecbfbc04625fc /mail/procmail
parent86d0320d57bcd0d34b45ed447fa87e63ff98798b (diff)
downloadFreeBSD-ports-96c26d86fc7e5aed21f87d0f0012e110074155a5.zip
FreeBSD-ports-96c26d86fc7e5aed21f87d0f0012e110074155a5.tar.gz
Fix coredump on early termination
PR: 74022 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Diffstat (limited to 'mail/procmail')
-rw-r--r--mail/procmail/Makefile4
-rw-r--r--mail/procmail/files/patch-aj11
2 files changed, 13 insertions, 2 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index 38e8d80..8f0e10a 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= procmail
-PORTVERSION= 3.22
-PORTREVISION= 4
+PORTVERSION= 3.22
+PORTREVISION= 5
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.psg.com/pub/unix/procmail/ \
diff --git a/mail/procmail/files/patch-aj b/mail/procmail/files/patch-aj
new file mode 100644
index 0000000..02d3e9a
--- /dev/null
+++ b/mail/procmail/files/patch-aj
@@ -0,0 +1,11 @@
+--- src/comsat.c.orig Tue Sep 11 08:55:46 2001
++++ src/comsat.c Wed Nov 17 09:44:12 2004
+@@ -120,7 +120,7 @@
+ { int s;const char*p;
+ if(!csvalid||!buf) /* is comat on and set to a valid address? */
+ return;
+- if(!*cslgname||strlen(cslgname)+2>linebuf) /* is $LOGNAME bogus? */
++ if(!cslgname||!*cslgname||strlen(cslgname)+2>linebuf) /* is $LOGNAME bogus? */
+ return;
+ if(!(p=folder?folder:cslastf)) /* do we have a folder? */
+ return;
OpenPOWER on IntegriCloud