File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/ql/src/experimental/Security/CWE/CWE-555 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111
1212import java
1313
14- /* Holds if the attribute value is not a cleartext password */
14+ /** Holds if the attribute value is not a cleartext password */
1515bindingset [ value]
1616predicate isNotPassword ( string value ) {
1717 value = "" // Empty string
@@ -21,7 +21,7 @@ predicate isNotPassword(string value) {
2121 value .matches ( "%=" ) // A basic check of encrypted passwords ending with padding characters, which could be improved to be more accurate.
2222}
2323
24- /* Holds if the attribute value has an embedded password */
24+ /** Holds if the attribute value has an embedded password */
2525bindingset [ value]
2626predicate hasEmbeddedPassword ( string value ) {
2727 exists ( string password |
You can’t perform that action at this time.
0 commit comments