From 4cad83f73d3ad96601fb0aade27280ff6f5f8510 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 9 May 2014 14:07:01 -0400 Subject: Fix call-time pass-by-reference in bind, bump. --- config/bind/bind.inc | 2 +- config/bind/bind_zones.xml | 2 +- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 17d171d1..9b4a444d 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -47,7 +47,7 @@ else define('CHROOT_LOCALBASE','/cf/named'); -function bind_zone_validate($post, $input_errors){ +function bind_zone_validate($post, &$input_errors){ if (key_exists("mail",$_POST)) $_POST['mail']=preg_replace("/@/",".",$post['mail']); diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml index 3506df63..24c3b99e 100644 --- a/config/bind/bind_zones.xml +++ b/config/bind/bind_zones.xml @@ -434,7 +434,7 @@ if ($_POST['type']=="master") $_POST['serial']=(date("U")+ 1000000000); - bind_zone_validate($_POST, &$input_errors); + bind_zone_validate($_POST, $input_errors); bind_sync(); diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 84f4591f..8788944d 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -53,7 +53,7 @@ http://www.isc.org/downloads/BIND/ Services - 9.9.5_12 pkg v 0.3.2 + 9.9.5_12 pkg v 0.3.3 RC 2.2 https://packages.pfsense.org/packages/config/bind/bind.xml diff --git a/pkg_config.8.xml b/pkg_config.8.xml index c699307a..85a17be3 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -53,7 +53,7 @@ http://www.isc.org/downloads/BIND/ Services - 9.9.5_12 pkg v 0.3.2 + 9.9.5_12 pkg v 0.3.3 RC 2.1 https://packages.pfsense.org/packages/config/bind/bind.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index d84e6ca6..4620f092 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -53,7 +53,7 @@ http://www.isc.org/downloads/BIND/ Services - 9.9.5_12 pkg v 0.3.2 + 9.9.5_12 pkg v 0.3.3 RC 2.1 https://packages.pfsense.org/packages/config/bind/bind.xml -- cgit v1.2.3