From 51e511281754e3b9ae3c73b3df67b74fc11ca3c0 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 29 Apr 2014 15:40:56 -0400 Subject: Fix call-time pass-by-reference in sudo, bump --- config/sudo/sudo.inc | 2 +- config/sudo/sudo.xml | 4 ++-- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/sudo/sudo.inc b/config/sudo/sudo.inc index 5ffa14c3..68cf4a00 100644 --- a/config/sudo/sudo.inc +++ b/config/sudo/sudo.inc @@ -165,7 +165,7 @@ function sudo_get_users($list_all_user = false) { /* Make sure commands passed in are valid executables to help ensure a valid sudoers file and expected behavior. This also forces the user to give full paths to executables, which they should be doing anyhow. */ -function sudo_validate_commands($input_errors) { +function sudo_validate_commands(&$input_errors) { $idx = 0; while(isset($_POST["cmdlist{$idx}"])) { $commands = $_POST["cmdlist" . $idx++]; diff --git a/config/sudo/sudo.xml b/config/sudo/sudo.xml index 16fc272b..2fccab24 100644 --- a/config/sudo/sudo.xml +++ b/config/sudo/sudo.xml @@ -3,7 +3,7 @@ Sudo Command Control None sudo - 0.2 + 0.2.1 Sudo - Shell Command Privilege Delegation Utility /usr/local/pkg/sudo.inc @@ -83,7 +83,7 @@ User permission definitions for allowing the use of sudo by shell users to run c diff --git a/pkg_config.10.xml b/pkg_config.10.xml index e0a281e1..b458e02e 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -1490,7 +1490,7 @@ https://doc.pfsense.org/index.php/Sudo_Package Security - 0.2 + 0.2.1 Beta 2.2 https://packages.pfsense.org/packages/config/sudo/sudo.xml diff --git a/pkg_config.8.xml b/pkg_config.8.xml index eb86f57d..b0aa5de8 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1933,7 +1933,7 @@ https://doc.pfsense.org/index.php/Sudo_Package Security - 0.2 + 0.2.1 Beta 2.0.2 https://packages.pfsense.org/packages/config/sudo/sudo.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 1728a3f9..a1d67317 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1920,7 +1920,7 @@ https://doc.pfsense.org/index.php/Sudo_Package Security - 0.2 + 0.2.1 Beta 2.0.2 https://packages.pfsense.org/packages/config/sudo/sudo.xml -- cgit v1.2.3