Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
40109472
Commit
40109472
authored
Aug 20, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add another sanity check in the sshkey checking code.
parent
52c411a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
protogeni/lib/GeniCM.pm.in
protogeni/lib/GeniCM.pm.in
+2
-0
No files found.
protogeni/lib/GeniCM.pm.in
View file @
40109472
...
...
@@ -6625,6 +6625,8 @@ sub AddKeys($$$)
#
if
(
exists
($
keys
->[
0
]->{
'urn'
})
||
exists
($
keys
->[
0
]->{
'login'
}))
{
foreach
my
$
ref
(@{
$
keys
})
{
goto
bad
if
(
ref
($
ref
)
ne
"HASH"
);
goto
bad
if
(
! (exists($ref->{'urn'}) || exists($ref->{'login'})));
...
...
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