Skip to content

Commit 2b5982f

Browse files
committed
Remove specified value step from additional taint step
1 parent 35a9242 commit 2b5982f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

java/ql/src/experimental/Security/CWE/CWE-073/FilePathInjection.ql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ class InjectFilePathConfig extends TaintTracking::Configuration {
2828
not sink instanceof NormalizedPathNode
2929
}
3030

31-
override predicate isAdditionalTaintStep(DataFlow::Node pred, DataFlow::Node succ) {
32-
any(AdditionalValueStep r).step(pred, succ)
33-
}
34-
3531
override predicate isSanitizer(DataFlow::Node node) {
3632
exists(Type t | t = node.getType() | t instanceof BoxedType or t instanceof PrimitiveType)
3733
}

0 commit comments

Comments
 (0)