Skip to content

Commit 0b98d17

Browse files
committed
Ruby: WeakFilePermissions
1 parent f5727bc commit 0b98d17

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ruby/ql/src/queries/security/cwe-732/WeakFilePermissions.ql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,11 @@ private module PermissivePermissionsConfig implements DataFlow::ConfigSig {
5959

6060
predicate observeDiffInformedIncrementalMode() { any() }
6161

62-
Location getASelectedSourceLocation(DataFlow::Node source) {
63-
none() // TODO: Make sure that this source location matches the query's select clause: Column 5 does not select a source or sink originating from the flow call on line 78 (/Users/d10c/src/semmle-code/ql/ruby/ql/src/queries/security/cwe-732/WeakFilePermissions.ql@81:84:81:86)
64-
}
65-
6662
Location getASelectedSinkLocation(DataFlow::Node sink) {
6763
exists(FileSystemPermissionModification mod |
6864
sinkDef(sink, mod) and
6965
result = mod.getLocation()
7066
)
71-
// TODO: Make sure that this sink location matches the query's select clause: Column 5 does not select a source or sink originating from the flow call on line 78 (/Users/d10c/src/semmle-code/ql/ruby/ql/src/queries/security/cwe-732/WeakFilePermissions.ql@81:84:81:86)
7267
}
7368
}
7469

0 commit comments

Comments
 (0)