[PATCH] Sanitize the shell environment before loading modules

2009-04-14 Thread qpsmtpd
From: Devin Carraway Fixes a taint-checking abort on startup when BASH_ENV is set; modules are loaded first, which kills prefork in the attempt to load IO::Socket. --- qpsmtpd-prefork | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/qpsmtpd-prefork b/qpsmtpd-pre

[PATCH] Sanitize the shell environment before loading modules

2009-04-14 Thread qpsmtpd
From: Devin Carraway --- qpsmtpd-prefork | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/qpsmtpd-prefork b/qpsmtpd-prefork index 882c752..3f23df3 100755 --- a/qpsmtpd-prefork +++ b/qpsmtpd-prefork @@ -10,6 +10,12 @@ # safety guards use strict; +BEGIN { +

Re: [PATCH] Sanitize the shell environment before loading modules

2009-04-14 Thread Devin Carraway
Oops, sorry for the dupe. Ignore this one. -- Devin \ aqua(at)devin.com, IRC:Requiem; http://www.devin.com Carraway \ 1024D/E9ABFCD2: 13E7 199E DD1E 65F0 8905 2E43 5395 CA0D E9AB FCD2

[PATCH] prefork: add multi-address support

2009-04-14 Thread Devin Carraway
Allows qpsmtpd-prefork to listen on multiple address/port combinations simultaneously, based on the corresponding implementation in forkserver. --- qpsmtpd-prefork | 108 --- 1 files changed, 63 insertions(+), 45 deletions(-) diff --git a/qpsmt

Re: [PATCH] prefork: add multi-address support

2009-04-14 Thread Hanno Hecker
On Tue, 14 Apr 2009 17:57:36 -0700 Devin Carraway wrote: > Allows qpsmtpd-prefork to listen on multiple address/port combinations > simultaneously, based on the corresponding implementation in forkserver. [...] > -use lib 'lib'; This should stay for running from git tree. Hanno