Skip to content

Commit 65b8c14

Browse files
committed
C++: Test CI.
1 parent 3dd3e2c commit 65b8c14

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

cpp/ql/src/Security/CWE/CWE-022/TaintedPath.ql

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,7 @@ module TaintedPath = TaintTracking::Global<TaintedPathConfig>;
106106
from
107107
FileFunction fileFunction, Expr taintedArg, FlowSource taintSource,
108108
TaintedPath::PathNode sourceNode, TaintedPath::PathNode sinkNode, string callChain
109-
where
110-
taintedArg = sinkNode.getNode().asIndirectArgument() and
111-
fileFunction.outermostWrapperFunctionCall(taintedArg, callChain) and
112-
TaintedPath::flowPath(sourceNode, sinkNode) and
113-
taintSource = sourceNode.getNode()
109+
where none()
114110
select taintedArg, sourceNode, sinkNode,
115111
"This argument to a file access function is derived from $@ and then passed to " + callChain + ".",
116112
taintSource, "user input (" + taintSource.getSourceType() + ")"

0 commit comments

Comments
 (0)