pkgsrc/mail/procmail/patches/patch-ba
wiz 2b1f9949b3 Fix CVE-2014-3618.
https://bugzilla.redhat.com/show_bug.cgi?id=1121299

While here:
Convert to user-destdir by using pkgsrc setuid framework.
Add comments to some patches.

Bump PKGREVISION.
2014-09-04 07:37:44 +00:00

15 lines
547 B
Text

$NetBSD: patch-ba,v 1.3 2014/09/04 07:37:44 wiz Exp $
Avoid conflict with existing getline() functions.
--- src/formail.c.orig 2009-07-17 23:04:16.000000000 -0400
+++ src/formail.c 2009-07-17 23:04:16.000000000 -0400
@@ -819,7 +819,7 @@
{ if(split) /* gobble up the next start separator */
{ buffilled=0;
#ifdef sMAILBOX_SEPARATOR
- getline();buffilled=0; /* but only if it's defined */
+ get_line();buffilled=0; /* but only if it's defined */
#endif
if(buflast!=EOF) /* if any */
goto splitit;