Skip to content

Commit 3abe1b4

Browse files
committed
Dataflow: Fix bad join-order.
1 parent 26eafcb commit 3abe1b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3690,8 +3690,8 @@ private module Subpaths {
36903690
*/
36913691
predicate subpaths(PathNode arg, PathNodeImpl par, PathNodeMid ret, PathNodeMid out) {
36923692
exists(ParamNodeEx p, NodeEx o, AccessPath apout |
3693-
arg.getASuccessor() = par and
3694-
arg.getASuccessor() = out and
3693+
pragma[only_bind_into](arg).getASuccessor() = par and
3694+
pragma[only_bind_into](arg).getASuccessor() = out and
36953695
subpaths03(arg, p, ret, o, apout) and
36963696
par.getNodeEx() = p and
36973697
out.getNodeEx() = o and

0 commit comments

Comments
 (0)