diff options
author | jim-p <jimp@pfsense.org> | 2014-04-29 15:40:56 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-04-29 15:40:56 -0400 |
commit | 51e511281754e3b9ae3c73b3df67b74fc11ca3c0 (patch) | |
tree | 9e2ef36db991bc8967ef91af3a70c0cc772d3da3 /config/sudo/sudo.inc | |
parent | 875aa3100103970ca0d802955742260a40c49dba (diff) | |
download | pfsense-packages-51e511281754e3b9ae3c73b3df67b74fc11ca3c0.tar.gz pfsense-packages-51e511281754e3b9ae3c73b3df67b74fc11ca3c0.tar.bz2 pfsense-packages-51e511281754e3b9ae3c73b3df67b74fc11ca3c0.zip |
Fix call-time pass-by-reference in sudo, bump
Diffstat (limited to 'config/sudo/sudo.inc')
-rw-r--r-- | config/sudo/sudo.inc | 2 |
1 files changed, 1 insertions, 1 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++]; |