Merge pull request #20925 from geoffw0/barrier-doc

Rust: Fix a few comments.
This commit is contained in:
Geoffrey White
2025-11-27 10:16:40 +00:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -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 { }

View File

@@ -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 { }

View File

@@ -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.