mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Fix minor quality issues in comment and change note
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
lgtm,codescanning
|
lgtm,codescanning
|
||||||
* Adding `Membership.GeneratePassword()` as a bad source of random data.
|
* Membership.GeneratePassword()` has been added as a bad source of random data.
|
||||||
@@ -15,7 +15,7 @@ string GeneratePassword()
|
|||||||
password = "mypassword" + BitConverter.ToInt32(randomBytes);
|
password = "mypassword" + BitConverter.ToInt32(randomBytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
// BAD: Membership.GeneratePassword is generates a password with a bias
|
// BAD: Membership.GeneratePassword generates a password with a bias
|
||||||
password = Membership.GeneratePassword(12, 3);
|
password = Membership.GeneratePassword(12, 3);
|
||||||
|
|
||||||
return password;
|
return password;
|
||||||
|
|||||||
Reference in New Issue
Block a user