Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid integer overflow in PassHash::pmd5 method
Input iteration counts are squared in the function and passing something above 30 is giving integer overflows on 32 bit systems (and causes insane iteration counts on 64bit systems).
- Loading branch information
1 parent
23684d4
commit 22f44d0
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters