Skip to content

Commit 934e06c

Browse files
committed
fix mistake in argumentPassing. The type-tracking was not required to be in an end state
1 parent 5130929 commit 934e06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/lib/semmle/python/ApiGraphs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ module API {
658658
*/
659659
private predicate argumentPassing(TApiNode base, Label::ApiLabel lbl, DataFlow::Node arg) {
660660
exists(DataFlow::Node use, DataFlow::LocalSourceNode pred |
661-
use(base, use) and pred = trackUseNode(use, _)
661+
use(base, use) and pred = trackUseNode(use)
662662
|
663663
exists(int i |
664664
lbl = Label::parameter(i) and

0 commit comments

Comments
 (0)