summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2018-05-04 20:40:51 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2018-05-04 20:40:51 +0200
commit8a6d63a20d7c88196294d6897d6642c082a5037a (patch)
treebf915428a20efdd0f3b8cae8f042d311bcd816a3
parent66965159ef993c4886f8eb2c7b3395c75df4e763 (diff)
downloadconfig-ast-8a6d63a20d7c88196294d6897d6642c082a5037a.tar.gz
config-ast-8a6d63a20d7c88196294d6897d6642c082a5037a.tar.bz2
Bugfix
* lib/Config/Tree.pm (add_node): untaint always returns undef
-rw-r--r--lib/Config/Tree.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Config/Tree.pm b/lib/Config/Tree.pm
index f8d6903..dbb7f1a 100644
--- a/lib/Config/Tree.pm
+++ b/lib/Config/Tree.pm
@@ -631,13 +631,13 @@ sub add_node {
$self->{_error_count}++;
return;
}
$nchecks++;
}
if ($nchecks && TESTS) {
- $v = Taint::Util::untaint($v);
+ Taint::Util::untaint($v);
}
if ($x->{array}) {
if (!defined($prev_val)) {
$v = [ $v ];
} else {

Return to:

Send suggestions and report system problems to the System administrator.