We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464f6cb commit 65d79ffCopy full SHA for 65d79ff
cpp/ql/src/Security/CWE/CWE-078/ExecTainted.ql
@@ -155,7 +155,7 @@ module ExecTaintConfig implements DataFlow::StateConfigSig {
155
156
Location getASelectedSinkLocation(DataFlow::Node sink) {
157
exists(DataFlow::Node concatResult, Expr command, ExecState state |
158
- result = [concatResult.getLocation(), command.getLocation()] and
+ result = [concatResult.getLocation(), command.getLocation(), sink.getLocation()] and
159
isSink(sink, state) and
160
isSinkImpl(sink, command, _) and
161
concatResult = state.getOutgoingNode()
0 commit comments