I got the following messages in my logfile (razor in SpamAssassin,
running under mimedefang):
Dec 6 14:50:02 babsi mimedefang-multiplexor: Slave 0 stderr: Use of
uninitialized value in split at /usr/lib/perl5/5.6.1/File/Spec/Unix.pm
line 189.
Dec 6 14:50:02 babsi mimedefang-multiplexor: Slave 0 stderr: Use of
uninitialized value in split at /usr/lib/perl5/5.6.1/File/Spec/Unix.pm
line 189.
The reason for this is the deletion of the $ENV{PATH} value from the
environment. I do consider this a perl bug (which is present up to
5.8.0, not only 5.6.1) that the sub path() in File::Spec::Unix cannot
cope with a non existing $ENV{'PATH'} value, but this doesn't help us
much.
This patch fixes it:
--- cut ---
--- razor-agents-2.22/lib/Razor2/Client/Agent.pm.orig Wed Nov 20 01:26:05 2002
+++ razor-agents-2.22/lib/Razor2/Client/Agent.pm Fri Dec 6 14:59:13 2002
@@ -35,6 +35,7 @@
# For Taint Friendliness
delete $ENV{PATH};
delete $ENV{BASH_ENV};
+ $ENV{PATH} = "";
my @valid_program_names = qw(
razor-check
--- cut ---
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [EMAIL PROTECTED]
Am Schwabachgrund 22 Fon.: 09131 / 50654-0 [EMAIL PROTECTED]
D-91054 Buckenhof Fax.: 09131 / 50654-20
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users