Skip to content

Commit 3403cff

Browse files
committed
Rust: More-or-less the Copilot suggestion.
1 parent 4aa53b6 commit 3403cff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/ql/lib/codeql/rust/security/HardcodedCryptographicValueExtensions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ module HardcodedCryptographicValue {
160160
* An arithmetic or bitwise operation that acts as a barrier.
161161
*
162162
* This prevents false positives where a hard-coded value is combined with
163-
* non-constant data through operations like `+`, `^`, or `+=`.
163+
* non-constant data through operations like `+`, `^`, or `+=` (including string concatenation).
164164
*/
165165
private class ArithmeticOperationBarrier extends Barrier {
166166
ArithmeticOperationBarrier() {

0 commit comments

Comments
 (0)