Skip to content

Commit fda2b56

Browse files
committed
Ruby: move rb/clear-text-storage-sensitive-data location from sink to source
1 parent 4618000 commit fda2b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/src/queries/security/cwe-312/CleartextStorage.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ import DataFlow::PathGraph
2121

2222
from Configuration config, DataFlow::PathNode source, DataFlow::PathNode sink
2323
where config.hasFlowPath(source, sink)
24-
select sink.getNode(), source, sink, "Sensitive data returned by $@ is stored here.",
24+
select source.getNode(), source, sink, "Sensitive data returned by $@ is stored here.",
2525
source.getNode(), source.getNode().(Source).describe()

0 commit comments

Comments
 (0)