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 c87c3e3 commit ce1c814Copy full SHA for ce1c814
java/ql/src/Security/CWE/CWE-022/TaintedPath.ql
@@ -29,7 +29,7 @@ class TaintedPathConfig extends TaintTracking::Configuration {
29
override predicate isSink(DataFlow::Node sink) {
30
sink.asExpr() = any(PathCreation p).getAnInput()
31
or
32
- sinkNode(sink, "create-file")
+ sinkNode(sink, ["create-file", "read-file"])
33
}
34
35
override predicate isSanitizer(DataFlow::Node sanitizer) {
0 commit comments