Commit 64feff35 authored by Mike Hibler's avatar Mike Hibler

Avoid a null pointer deref.

parent ca3f5497
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2017 University of Utah and the Flux Group.
# Copyright (c) 2000-2019 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -257,6 +257,9 @@ SWITCH: for ($op) {
fatal("Unknown operation $op");
}
# XXX "switch" statement clears $op
$op = $opargs->{'op'};
# Update with output for log message if sent.
AddAuditInfo("message",
"$op:\n\n" . Dumper($args) . "\n\n" .
......
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