Unverified Commit 71d06263 authored by fbomj's avatar fbomj Committed by GitHub
Browse files

Merge pull request #134 from fbomj/secure_makefile

Removal of the current directory (.) from @INC
parents e73ef980 1c3991ec
# Avoid installation issue introduced by perl 5.24.1 removing '.' path from
# @INC to avoid possible module injection in normal running perl scripts
push @INC, '.' if ( $^V && $^V gt 'v5.24' );
use inc::Module::Install;
......@@ -16,7 +21,7 @@ install :: all pure_install doc_install
return $re;
require './lib/Ocsinventory/Agent/Config.pm';
require 'lib/Ocsinventory/Agent/Config.pm';
use Config;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment