Skip to content

Commit 0b73088

Browse files
committed
Ruby: link to sink in rb/clear-text-storage-sensitive-data message
1 parent 0f3cf47 commit 0b73088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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 source.getNode(), source, sink, "Sensitive data returned by $@ is stored here.",
25-
source.getNode(), source.getNode().(Source).describe()
24+
select source.getNode(), source, sink, "Sensitive data returned by $@ is stored $@.",
25+
source.getNode(), source.getNode().(Source).describe(), sink.getNode(), "here"

0 commit comments

Comments
 (0)