Skip to content

Commit

Permalink
Merge pull request #806 from gao-yan/cibadmin-use-of-null
Browse files Browse the repository at this point in the history
Fix: cibadmin: Prevent potential use-of-NULL in print_xml_output()
  • Loading branch information
beekhof committed Oct 1, 2015
2 parents 18c8ee0 + c43a8df commit f8ef8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cibadmin.c
Expand Up @@ -186,7 +186,7 @@ print_xml_output(xmlNode * xml)
print_xml_output(child);
}

} else {
} else if (id) {
printf("%s\n", id);
}

Expand Down

0 comments on commit f8ef8db

Please sign in to comment.