mirror of
https://github.com/github/codeql.git
synced 2026-03-05 07:06:47 +01:00
Java: update write-file sink kind to file-system-store
This commit is contained in:
@@ -40,7 +40,7 @@ class LocalFileOpenCall extends Storable {
|
||||
|
||||
/** Holds if `input` is written into `file`. */
|
||||
private predicate filesystemInput(DataFlow::Node file, Argument input) {
|
||||
exists(DataFlow::Node write | sinkNode(write, "write-file") |
|
||||
exists(DataFlow::Node write | sinkNode(write, "file-content-store") |
|
||||
input = write.asExpr() or
|
||||
isVarargs(input, write)
|
||||
) and
|
||||
|
||||
Reference in New Issue
Block a user