You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by gb...@apache.org on 2020/09/17 07:17:40 UTC

svn commit: r1881784 - in /spamassassin: branches/3.4/sa-update.raw trunk/sa-update.raw

Author: gbechis
Date: Thu Sep 17 07:17:40 2020
New Revision: 1881784

URL: http://svn.apache.org/viewvc?rev=1881784&view=rev
Log:
exit if reallyallowplugin option is not specified

Modified:
    spamassassin/branches/3.4/sa-update.raw
    spamassassin/trunk/sa-update.raw

Modified: spamassassin/branches/3.4/sa-update.raw
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/sa-update.raw?rev=1881784&r1=1881783&r2=1881784&view=diff
==============================================================================
--- spamassassin/branches/3.4/sa-update.raw (original)
+++ spamassassin/branches/3.4/sa-update.raw Thu Sep 17 07:17:40 2020
@@ -224,6 +224,7 @@ if ( $opt{'allowplugins'} && !$opt{'real
   warn "Security warning: dangerous option --allowplugins used:\n".
        "- there should never be need to use this option, see man sa-update(1)\n".
        "- specify --reallyallowplugins to allow activating plugins\n";
+  exit 2;
 }
 
 $use_inet4 = $have_inet4 && ( !$opt{'force_pf'} || $opt{'force_pf'} eq 'inet' );

Modified: spamassassin/trunk/sa-update.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-update.raw?rev=1881784&r1=1881783&r2=1881784&view=diff
==============================================================================
--- spamassassin/trunk/sa-update.raw (original)
+++ spamassassin/trunk/sa-update.raw Thu Sep 17 07:17:40 2020
@@ -226,6 +226,7 @@ if ( $opt{'allowplugins'} && !$opt{'real
   warn "Security warning: dangerous option --allowplugins used:\n".
        "- there should never be need to use this option, see man sa-update(1)\n".
        "- specify --reallyallowplugins to allow activating plugins\n";
+  exit 2;
 }
 
 $use_inet4 = $have_inet4 && ( !$opt{'force_pf'} || $opt{'force_pf'} eq 'inet' );