Unverified Commit 441362b5 by Enkelmann Committed by GitHub

Fix formatting error (#127)

parent 7687036b
...@@ -148,7 +148,12 @@ pub fn check_cwe( ...@@ -148,7 +148,12 @@ pub fn check_cwe(
} }
let chroot_return_to_node = graph.neighbors(node).next().unwrap(); let chroot_return_to_node = graph.neighbors(node).next().unwrap();
// If chdir is called after chroot, we assume a secure chroot jail. // If chdir is called after chroot, we assume a secure chroot jail.
if is_sink_call_reachable_from_source_call(graph, chroot_return_to_node, &chroot_tid, &chdir_tid) if is_sink_call_reachable_from_source_call(
graph,
chroot_return_to_node,
&chroot_tid,
&chdir_tid,
)
.is_none() .is_none()
{ {
// If chdir is not called after chroot, it has to be called before it. // If chdir is not called after chroot, it has to be called before it.
......
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