Skip to content

Commit ed33b90

Browse files
committed
C++: Simplify cpp/path-injection now argv sources are parameters
1 parent 7549915 commit ed33b90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ class TaintedPathConfiguration extends TaintTracking::Configuration {
9191
)
9292
}
9393

94-
override predicate isSanitizerIn(DataFlow::Node node) { this.isSource(node) }
95-
9694
override predicate isSanitizer(DataFlow::Node node) {
9795
node.asExpr().(Call).getTarget().getUnspecifiedType() instanceof ArithmeticType
9896
or

0 commit comments

Comments
 (0)