Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE check for UsernameRule#validate(final PasswordData passwordData) #42

Closed
ememisya opened this issue Sep 16, 2016 · 0 comments
Closed

NPE check for UsernameRule#validate(final PasswordData passwordData) #42

ememisya opened this issue Sep 16, 2016 · 0 comments

Comments

@ememisya
Copy link
Contributor

@ememisya ememisya commented Sep 16, 2016

UsernameRule validate implementation doesn't check for null when retrieving the username from PasswordData, which leads to a NPE on the line:
String reverseUser = new StringBuilder(user).reverse().toString();

dfish3r added a commit that referenced this issue Feb 3, 2017
@serac serac closed this in #51 Feb 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant