mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Java: Do not derive new write-file sinks.
This commit is contained in:
@@ -234,5 +234,6 @@ string asInputArgument(DataFlow::Node source) {
|
||||
bindingset[kind]
|
||||
predicate isRelevantSinkKind(string kind) {
|
||||
not kind = "logging" and
|
||||
not kind.matches("regex-use%")
|
||||
not kind.matches("regex-use%") and
|
||||
not kind = "write-file"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user