Skip to content

Commit 4214c83

Browse files
committed
Rust: Clean up the query message.
1 parent ccc1243 commit 4214c83

File tree

2 files changed

+66
-68
lines changed

2 files changed

+66
-68
lines changed

rust/ql/src/queries/security/CWE-312/CleartextLogging.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,5 @@ import CleartextLoggingFlow::PathGraph
5555

5656
from CleartextLoggingFlow::PathNode source, CleartextLoggingFlow::PathNode sink
5757
where CleartextLoggingFlow::flowPath(source, sink)
58-
select sink.getNode(), source, sink,
59-
"This operation writes '" + sink.toString() +
60-
"' to a log file. It may contain unencrypted sensitive data from $@.", source,
58+
select sink.getNode(), source, sink, "This operation writes $@ to a log file.", source,
6159
source.getNode().toString()

0 commit comments

Comments
 (0)