Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
05290a50
Commit
05290a50
authored
May 08, 2008
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Untaint results from escapeshellarg.
parent
a2486b1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
db/User.pm.in
db/User.pm.in
+2
-1
No files found.
db/User.pm.in
View file @
05290a50
...
...
@@ -1466,7 +1466,8 @@ sub escapeshellarg($)
my ($str) = @_;
$str =~ s/[^[:alnum:]]/\\$&/g;
return $str;
$str =~ /^(.+)$/; # untaint the result
return $1;
}
# _Always_ make sure that this 1 is at the end of the file...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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