diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2016-08-08 12:56:21 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2016-08-08 13:25:23 +0100 |
commit | 00d961caf65622249989d97f90d4d1a93b56e755 (patch) | |
tree | 28bfcd5fc561b819b84544677b9ed963cfde4827 /cpan/IPC-Cmd | |
parent | f075db897912b679e8b0840562b0735b262f07df (diff) | |
download | perl-00d961caf65622249989d97f90d4d1a93b56e755.tar.gz |
Update IPC-Cmd to CPAN version 0.96
[DELTA]
0.96 Thu Jul 28 11:17:12 BST 2016
Bug fixes:
* Require Module::Load::Conditional 0.66 to resolve
CVE-2016-1238: avoid loading optional modules from default .
Diffstat (limited to 'cpan/IPC-Cmd')
-rw-r--r-- | cpan/IPC-Cmd/lib/IPC/Cmd.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cpan/IPC-Cmd/lib/IPC/Cmd.pm b/cpan/IPC-Cmd/lib/IPC/Cmd.pm index 89943a86a0..c0e25a22fb 100644 --- a/cpan/IPC-Cmd/lib/IPC/Cmd.pm +++ b/cpan/IPC-Cmd/lib/IPC/Cmd.pm @@ -18,7 +18,7 @@ BEGIN { $HAVE_MONOTONIC ]; - $VERSION = '0.94_01'; + $VERSION = '0.96'; $VERBOSE = 0; $DEBUG = 0; $WARN = 1; @@ -60,6 +60,8 @@ use Text::ParseWords (); # import ONLY if needed! use Module::Load::Conditional qw[can_load]; use Locale::Maketext::Simple Style => 'gettext'; +local $Module::Load::Conditional::FORCE_SAFE_INC = 1; + =pod =head1 NAME @@ -142,8 +144,6 @@ sub can_use_ipc_run { return if IS_WIN98; ### if we don't have ipc::run, we obviously can't use it. - local @INC = @INC; - pop @INC if $INC[-1] eq '.'; return unless can_load( modules => { 'IPC::Run' => '0.55' }, verbose => ($WARN && $verbose), @@ -171,8 +171,6 @@ sub can_use_ipc_open3 { ### IPC::Open3 works on every non-VMS platform, but it can't ### capture buffers on win32 :( - local @INC = @INC; - pop @INC if $INC[-1] eq '.'; return unless can_load( modules => { map {$_ => '0.0'} qw|IPC::Open3 IO::Select Symbol| }, verbose => ($WARN && $verbose), |