You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2017/02/13 02:14:43 UTC
svn commit: r1782716 - /spamassassin/trunk/spamc/configure.pl
Author: jhardin
Date: Mon Feb 13 02:14:42 2017
New Revision: 1782716
URL: http://svn.apache.org/viewvc?rev=1782716&view=rev
Log:
Fix bug#7367: Don't assume cwd (".") is in @INC, it may be removed for security reasons - see CVE-2016-1238
Modified:
spamassassin/trunk/spamc/configure.pl
Modified: spamassassin/trunk/spamc/configure.pl
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/configure.pl?rev=1782716&r1=1782715&r2=1782716&view=diff
==============================================================================
--- spamassassin/trunk/spamc/configure.pl (original)
+++ spamassassin/trunk/spamc/configure.pl Mon Feb 13 02:14:42 2017
@@ -66,7 +66,7 @@ print join(' ', $Config{'perlpath'}, "ve
# Do the same thing as for the preprocessor below.
package version_h;
my $Z = $0;
- local $0 = "version.h.pl";
+ local $0 = "./version.h.pl";
local @ARGV = ();
# Got to check for defined because the script returns shell error level!
unless (defined do $0) {