Skip to content

Commit 0698106

Browse files
committed
Data flow: Duplicate call to 'revFlow'
This needs to be joined differently for some of the disjuncts in the exists
1 parent 17f2be2 commit 0698106

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2717,7 +2717,9 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
27172717
or
27182718
callEdgeReturn(_, _, node, _, next, _, ap) and
27192719
apNext = ap
2720-
or
2720+
)
2721+
or
2722+
exists(NodeEx next, Ap apNext | revFlow(next, pragma[only_bind_into](state), apNext) |
27212723
storeStepCand(node, _, _, next, _, _)
27222724
or
27232725
readStepCand(node, _, next)

0 commit comments

Comments
 (0)