Skip to content

Commit 6a96c53

Browse files
committed
Python: Add missing getNode invocation
1 parent 26d14ab commit 6a96c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/experimental/dataflow/TypeTracker.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ predicate callStep(ArgumentNode nodeFrom, ParameterNode nodeTo) {
7979
/** Holds if `nodeFrom` steps to `nodeTo` by being returned from a call. */
8080
predicate returnStep(ReturnNode nodeFrom, Node nodeTo) {
8181
exists(DataFlowCall call |
82-
nodeFrom.getEnclosingCallable() = call.getCallable() and nodeTo.asCfgNode() = call
82+
nodeFrom.getEnclosingCallable() = call.getCallable() and nodeTo.asCfgNode() = call.getNode()
8383
)
8484
}
8585

0 commit comments

Comments
 (0)