Skip to content

Commit efe21cc

Browse files
committed
shared
1 parent 9ffe474 commit efe21cc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

shared/mad/codeql/mad/modelgenerator/internal/ModelGeneratorImpl.qll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,10 @@ module MakeModelGenerator<
464464
predicate isAdditionalFlowStep(
465465
DataFlow::Node node1, FlowState state1, DataFlow::Node node2, FlowState state2
466466
) {
467-
exists(DataFlow::ContentSet c |
468-
DataFlow::store(node1, c.getAStoreContent(), node2, _, _) and
467+
exists(DataFlow::NodeEx n1, DataFlow::NodeEx n2, DataFlow::ContentSet c |
468+
DataFlow::store(n1, c.getAStoreContent(), n2, _, _) and
469+
node1 = n1.asNode() and
470+
node2 = n2.asNode() and // todo: reverse nodes?
469471
isRelevantContent0(c) and
470472
(
471473
state1 instanceof TaintRead and state2.(TaintStore).getStep() = 1

0 commit comments

Comments
 (0)