Skip to content

Commit

Permalink
Rust: Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffw0 committed Jan 23, 2025
1 parent 5570523 commit d27a71e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p>
Sensitive user data and system information that is logged could be seen by an attacker when it is
displayed. Also, external processes often store the standard output and standard error streams of
an application, which will include logged sensitive information.</p>
an application, which will include logged sensitive information.
</p>
</overview>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
let password = "P@ssw0rd";
info!("User password changed to {password}")
info!("User password changed to {password}");
4 changes: 2 additions & 2 deletions rust/ql/src/queries/security/CWE-312/CleartextLoggingGood.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
let password = "P@ssw0rd"
info!("User password changed")
let password = "P@ssw0rd";
info!("User password changed");

0 comments on commit d27a71e

Please sign in to comment.