summaryrefslogtreecommitdiff
path: root/mail/procmail/files/patch-aj
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-11-17 06:49:39 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-11-17 06:49:39 +0000
commit37c0e04ec188a1e52ade6d9a84cc7b9d94616148 (patch)
tree09d059ef0b6d395141d2e9fa78bc4dd5d9bd46f2 /mail/procmail/files/patch-aj
parent- ignore error state from clamdscan. (diff)
Fix coredump on early termination
PR: 74022 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Diffstat (limited to '')
-rw-r--r--mail/procmail/files/patch-aj11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/procmail/files/patch-aj b/mail/procmail/files/patch-aj
new file mode 100644
index 000000000000..02d3e9a9ba74
--- /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;