Skip to content

Commit 466eb4a

Browse files
authored
Merge pull request #9870 from jketema/exec-tainted-join
C++: Fix join-order problem in `cpp/command-line-injection`
2 parents a437fcb + 694d639 commit 466eb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-078/ExecTainted.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ExecState extends DataFlow::FlowState {
7777
ExecState() {
7878
this =
7979
"ExecState (" + fst.getLocation() + " | " + fst + ", " + snd.getLocation() + " | " + snd + ")" and
80-
interestingConcatenation(fst, snd)
80+
interestingConcatenation(pragma[only_bind_into](fst), pragma[only_bind_into](snd))
8181
}
8282

8383
DataFlow::Node getFstNode() { result = fst }

0 commit comments

Comments
 (0)