Browse Source
If the salt length is 28 characters and the
version is 2{a,x,y}, an IndexOutOfBoundsException
is thrown. This commit adds an extra check that
the salt length should be at least 29 characters long
if the version is not equal to "2".
Fixes: gh-6907
pull/7043/head
2 changed files with 9 additions and 0 deletions
Loading…
Reference in new issue