Skip to content

Commit e8cb6b8

Browse files
committed
Rust: Fix a couple of comments.
1 parent d8027fb commit e8cb6b8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module LogInjection {
4646

4747
/**
4848
* A barrier for log injection vulnerabilities for nodes whose type is a
49-
* numeric or boolean type, which is unlikely to expose any vulnerability.
49+
* numeric type, which is unlikely to expose any vulnerability.
5050
*/
5151
private class NumericTypeBarrier extends Barrier instanceof Barriers::NumericTypeBarrier { }
5252

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ module SqlInjection {
6060
}
6161

6262
/**
63-
* A barrier for SQL injection vulnerabilities for nodes whose type is a numeric or
64-
* boolean type, which is unlikely to expose any vulnerability.
63+
* A barrier for SQL injection vulnerabilities for nodes whose type is a numeric
64+
* type, which is unlikely to expose any vulnerability.
6565
*/
6666
private class NumericTypeBarrier extends Barrier instanceof Barriers::NumericTypeBarrier { }
6767

rust/ql/lib/codeql/rust/security/regex/RegexInjectionExtensions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module RegexInjection {
8989

9090
/**
9191
* A barrier for regular expression injection vulnerabilities for nodes whose
92-
* type is an integral or boolean type, which is unlikely to expose any vulnerability.
92+
* type is an integral type, which is unlikely to expose any vulnerability.
9393
*
9494
* We don't include floating point types in this barrier, as `.` is a special character
9595
* in regular expressions.

0 commit comments

Comments
 (0)