From 876949ceb7f9b67065c34bfbf63f6aeb53fbe773 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 5 Oct 2015 18:28:42 +0200 Subject: [PATCH] Added patch file for spamassassin --- roles/ispmail-postfix/files/spamassassin.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/ispmail-postfix/files/spamassassin.patch diff --git a/roles/ispmail-postfix/files/spamassassin.patch b/roles/ispmail-postfix/files/spamassassin.patch new file mode 100644 index 0000000..825f989 --- /dev/null +++ b/roles/ispmail-postfix/files/spamassassin.patch @@ -0,0 +1,11 @@ +--- /usr/share/perl5/Mail/SpamAssassin/Util.pm.orig 2014-08-22 00:08:39.185602751 +0200 ++++ /usr/share/perl5/Mail/SpamAssassin/Util.pm 2014-08-22 00:09:18.330883723 +0200 +@@ -285,7 +285,7 @@ + my $r = ref $_[0]; + if (!$r) { + no re 'taint'; # override a "use re 'taint'" from outer scope +- return if !defined $_[0]; ++ return undef if !defined $_[0]; + local($1); # avoid Perl taint bug: tainted global $1 propagates taintedness + $_[0] =~ /^(.*)\z/s; + return $1;