Skip to content

Commit 907bb9b

Browse files
committed
add a comment
1 parent 1f931d6 commit 907bb9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ql/src/queries/security/cwe-798/HardcodedCredentials.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ private predicate maybeCredentialName(string name) {
8888
not name.suffix(name.length() - 4) = "file"
8989
}
9090

91+
// A parameter that may represent a credential value
9192
private DataFlow::LocalSourceNode credentialParameter(TypeTracker t) {
9293
t.start() and
9394
exists(Method m, NamedParameter p, int idx |

0 commit comments

Comments
 (0)