summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-22 13:03:22 +0000
committerrillig <rillig@pkgsrc.org>2005-11-22 13:03:22 +0000
commit835e577ea694f33d742e9f7416d4c65a0c786733 (patch)
treea150d86077031498b16883d95a910e13a0536f4d /mail/spamassassin/patches
parent81b00c840ac3e30ede3cf653a209c282111742da (diff)
downloadpkgsrc-835e577ea694f33d742e9f7416d4c65a0c786733.tar.gz
Removed patch-ar again, as I have found a way to exploit it. Bumped
PKGREVISION.
Diffstat (limited to 'mail/spamassassin/patches')
-rw-r--r--mail/spamassassin/patches/patch-ar19
1 files changed, 0 insertions, 19 deletions
diff --git a/mail/spamassassin/patches/patch-ar b/mail/spamassassin/patches/patch-ar
deleted file mode 100644
index 5573bb139bc..00000000000
--- a/mail/spamassassin/patches/patch-ar
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ar,v 1.3 2005/11/22 10:35:00 rillig Exp $
-
-See http://mail-index.netbsd.org/tech-pkg/2005/11/22/0003.html
-
---- lib/Mail/SpamAssassin/Conf/Parser.pm.orig Fri Aug 12 02:38:46 2005
-+++ lib/Mail/SpamAssassin/Conf/Parser.pm Tue Nov 22 11:31:13 2005
-@@ -908,6 +908,12 @@ sub is_regexp_valid {
- # will therefore open a hole!
- if (eval { ("" =~ m#${re}#); 1; }) {
-
-+ # untaint $safere. We know it's safe since $re, which is derived from
-+ # $safere, passed the above test for code injection. Just good that
-+ # Perl prevents injection of (?{...}) and (??{...}) groups automatically,
-+ # so we don't need to check for that.
-+ if ($safere =~ m#^(.*)$#) { $safere = $1; }
-+
- # now double-check -- try with the user-supplied delimiters as well
- my $evalstr = '("" =~ '.$safere.'); 1;';
- if (eval $evalstr) {