Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
48818c6f
Commit
48818c6f
authored
Feb 23, 2004
by
Leigh B. Stoller
Browse files
Minor tweaks to taint checking.
parent
0585583c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/node_update.in
View file @
48818c6f
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# Copyright (c) 2000-200
4
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -89,13 +89,13 @@ my $eid = shift(@ARGV);
#
# Untaint the arguments.
#
if
(
$pid
=~
/^([-\
@\
w]+)$/
)
{
if
(
$pid
=~
/^([-\w]+)$/
)
{
$pid
=
$
1
;
}
else
{
die
("
*** Bad data in pid:
$pid
\n
");
}
if
(
$eid
=~
/^([-\
@\
w]+)$/
)
{
if
(
$eid
=~
/^([-\w]+)$/
)
{
$eid
=
$
1
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment