Skip to content

Commit 20bb631

Browse files
committed
Dataflow: Prevent bad join.
1 parent c22cbf5 commit 20bb631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared/dataflow/codeql/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,8 +1081,8 @@ module Make<DF::InputSig DataFlowLang, InputSig<DataFlowLang> Input> {
10811081
SummaryComponentStack outputContents
10821082
|
10831083
summary(c, inputContents, outputContents, preservesValue) and
1084-
pred = summaryNodeInputState(c, inputContents) and
1085-
succ = summaryNodeOutputState(c, outputContents)
1084+
pred = summaryNodeInputState(pragma[only_bind_into](c), inputContents) and
1085+
succ = summaryNodeOutputState(pragma[only_bind_into](c), outputContents)
10861086
|
10871087
preservesValue = true
10881088
or

0 commit comments

Comments
 (0)