Skip to content
Snippets Groups Projects
Commit f11bc546 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix 30-year-old bug (obvious password patterns) in chkpass()

Off-by-one bug caused the comparison of only the first 3 chars of the proposed password against "QWE", "ASD", and "!@#" rather than the 4 character pattern match as intended.

These lines should be removed anyway since this can be easily achieved via password.can (as intended), but I couldn't help myself but to fix this ancient bug.
parent 18c8111c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment