mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #20925 from geoffw0/barrier-doc
Rust: Fix a few comments.
This commit is contained in:
@@ -46,7 +46,7 @@ module LogInjection {
|
||||
|
||||
/**
|
||||
* A barrier for log injection vulnerabilities for nodes whose type is a
|
||||
* numeric or boolean type, which is unlikely to expose any vulnerability.
|
||||
* numeric type, which is unlikely to expose any vulnerability.
|
||||
*/
|
||||
private class NumericTypeBarrier extends Barrier instanceof Barriers::NumericTypeBarrier { }
|
||||
|
||||
|
||||
@@ -60,8 +60,8 @@ module SqlInjection {
|
||||
}
|
||||
|
||||
/**
|
||||
* A barrier for SQL injection vulnerabilities for nodes whose type is a numeric or
|
||||
* boolean type, which is unlikely to expose any vulnerability.
|
||||
* A barrier for SQL injection vulnerabilities for nodes whose type is a numeric
|
||||
* type, which is unlikely to expose any vulnerability.
|
||||
*/
|
||||
private class NumericTypeBarrier extends Barrier instanceof Barriers::NumericTypeBarrier { }
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ module RegexInjection {
|
||||
|
||||
/**
|
||||
* A barrier for regular expression injection vulnerabilities for nodes whose
|
||||
* type is an integral or boolean type, which is unlikely to expose any vulnerability.
|
||||
* type is an integral type, which is unlikely to expose any vulnerability.
|
||||
*
|
||||
* We don't include floating point types in this barrier, as `.` is a special character
|
||||
* in regular expressions.
|
||||
|
||||
Reference in New Issue
Block a user