Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a62a2e5

Browse files
committed
Java: Improve QL-Doc
1 parent d98b171 commit a62a2e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/src/Security/CWE/CWE-297/UnsafeHostnameVerification.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private predicate alwaysReturnsTrue(HostnameVerifierVerify m) {
2929
}
3030

3131
/**
32-
* A class that overrides the `javax.net.ssl.HostnameVerifier.verify` method and **always** returns `true`, thus
32+
* A class that overrides the `javax.net.ssl.HostnameVerifier.verify` method and **always** returns `true` (ignoring exceptional flow), thus
3333
* accepting any certificate despite a hostname mismatch.
3434
*/
3535
class TrustAllHostnameVerifier extends RefType {

0 commit comments

Comments
 (0)