Java: Do not derive new write-file sinks.

This commit is contained in:
Michael Nebel
2022-05-29 14:33:19 +02:00
parent ad4d8304ed
commit 48da8dde6f

View File

@@ -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"
}