Fixing range checking bugs in zxcvbn.