Commit 48818c6f authored by Leigh Stoller's avatar Leigh Stoller

Minor tweaks to taint checking.

parent 0585583c
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment