A patch from Philip Guenther (procmail maintainer) fixing a
crash when procmail is invoked without arguments and then receive a ^C. from rohee@
This commit is contained in:
parent
2df5e83b56
commit
c245cce037
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2005/01/04 21:16:43 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2005/02/11 19:11:39 sturm Exp $
|
||||
|
||||
COMMENT= "filtering local mail delivery agent"
|
||||
|
||||
DISTNAME= procmail-3.22
|
||||
CATEGORIES= mail
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE} \
|
||||
ftp://ftp.psg.com/pub/unix/procmail/ \
|
||||
|
17
mail/procmail/patches/patch-src_comsat_c
Normal file
17
mail/procmail/patches/patch-src_comsat_c
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-src_comsat_c,v 1.1 2005/02/11 19:11:39 sturm Exp $
|
||||
|
||||
A patch from Philip Guenther (procmail maintainer) fixing a
|
||||
crash when procmail is invoked without arguments and then
|
||||
receive a ^C.
|
||||
|
||||
--- src/comsat.c.orig Tue Sep 11 06:55:46 2001
|
||||
+++ src/comsat.c Thu Feb 10 00:31:59 2005
|
||||
@@ -120,7 +120,7 @@ void sendcomsat(folder)const char*folder
|
||||
{ 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;
|
Loading…
Reference in New Issue
Block a user