Skip to content

Commit 0865397

Browse files
committed
Rust: Address nit.
1 parent ed22f49 commit 0865397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/ql/src/queries/security/CWE-696/BadCtorInitialization.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ query predicate edges(PathElement pred, PathElement succ) {
7171
}
7272

7373
from CtorAttr source, StdCall sink
74-
where edges*(source, sink)
74+
where edges+(source, sink)
7575
select sink, source, sink,
7676
"Call to " + sink.toString() + " in a function with the " + source.getWhichAttr() + " attribute."

0 commit comments

Comments
 (0)