mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
Fix coredump on early termination
PR: 74022 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
This commit is contained in:
parent
b5392dfa2b
commit
37c0e04ec1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121797
@ -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/ \
|
||||
|
11
mail/procmail/files/patch-aj
Normal file
11
mail/procmail/files/patch-aj
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user