Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make postgrey work with Perl 5.18 #4

Merged
merged 1 commit into from Oct 9, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -557,6 +557,16 @@ sub main()
if($opt{dbdir}) {
$opt{dbdir} =~ /^(.*)$/; $opt{dbdir} = $1;
}
# untaint what is given on --pidfile. It is not security sensitive since
# it is provided by the admin
if($opt{pidfile}) {
$opt{pidfile} =~ /^(.*)$/; $opt{pidfile} = $1;
}
# untaint what is given on --inet. It is not security sensitive since
# it is provided by the admin
if($opt{inet}) {
$opt{inet} =~ /^(.*)$/; $opt{inet} = $1;
}

# determine proper "logsock" for Sys::Syslog
my $syslog_logsock;
ProTip! Use n and p to navigate between commits in a pull request.