freebsd-ports/hebrew/pine/files/patch-aw
Kevin Lo 0e307cea39 Update of the Hebrew version of pine to 4.30-2.09 (with the security bug
found in 4.21 fixed).

PR: 22536
Submitted by: MAINTAINER
2000-11-02 15:15:24 +00:00

19 lines
761 B
Text

*** imap/src/osdep/unix/env_unix.c.orig Wed Oct 25 03:43:40 2000
--- imap/src/osdep/unix/env_unix.c Thu Nov 2 12:10:11 2000
***************
*** 947,953 ****
}
close (pi[0]); close (pi[1]);
}
! if (lockEaccesError) { /* punt silently if paranoid site */
sprintf (tmp,"Mailbox vulnerable - directory %.80s",base->lock);
if (s = strrchr (tmp,'/')) *s = '\0';
strcat (tmp," must have 1777 protection");
--- 947,953 ----
}
close (pi[0]); close (pi[1]);
}
! if (strncmp(base->lock,"/var/mail/",10) && lockEaccesError) {
sprintf (tmp,"Mailbox vulnerable - directory %.80s",base->lock);
if (s = strrchr (tmp,'/')) *s = '\0';
strcat (tmp," must have 1777 protection");