From 875aa3100103970ca0d802955742260a40c49dba Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 29 Apr 2014 15:05:29 -0400 Subject: Fix a pass-by-reference error in nmap, bump. --- config/nmap/nmap.inc | 2 +- config/nmap/nmap.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/nmap/nmap.inc b/config/nmap/nmap.inc index 18708159..272f27ef 100644 --- a/config/nmap/nmap.inc +++ b/config/nmap/nmap.inc @@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. */ -function nmap_custom_php_validation_command($post, $input_errors) { +function nmap_custom_php_validation_command($post, & $input_errors) { global $_POST, $savemsg, $config; if (empty($_POST['hostname'])) { $input_errors[] = gettext("You must enter an IP address to scan."); diff --git a/config/nmap/nmap.xml b/config/nmap/nmap.xml index 4034222a..b07b3982 100644 --- a/config/nmap/nmap.xml +++ b/config/nmap/nmap.xml @@ -46,7 +46,7 @@ Describe your package requirements here Currently there are no FAQ items provided. nmap - 6.01 + 6.40_2 pkg v1.2.1 Diagnostics: NMap Scan yes @@ -120,6 +120,6 @@ nmap_custom_add_php_command(); - nmap_custom_php_validation_command($_POST, &$input_errors); + nmap_custom_php_validation_command($_POST, $input_errors); -- cgit v1.2.3