mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Ruby/WeakFilePermissions
This commit is contained in:
@@ -60,8 +60,9 @@ private module PermissivePermissionsConfig implements DataFlow::ConfigSig {
|
||||
predicate observeDiffInformedIncrementalMode() { any() }
|
||||
|
||||
Location getASelectedSinkLocation(DataFlow::Node sink) {
|
||||
exists(FileSystemPermissionModification mod |
|
||||
sinkDef(sink, mod) and
|
||||
exists(FileSystemPermissionModification mod | sinkDef(sink, mod) |
|
||||
result = sink.getLocation()
|
||||
or
|
||||
result = mod.getLocation()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user