diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-05-01 21:18:17 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-05-01 21:18:17 +0200 |
commit | 22f44d031dd846cd1ff2f032ea10bc1ff1797f42 (patch) | |
tree | 6e93a3a5b90254371b384d6593cd1c89387adb50 /inc/JSON.php | |
parent | 23684d4a1920ae8e92fda68725e49035614f3d8a (diff) | |
download | rpg-22f44d031dd846cd1ff2f032ea10bc1ff1797f42.tar.gz rpg-22f44d031dd846cd1ff2f032ea10bc1ff1797f42.tar.bz2 |
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).
Diffstat (limited to 'inc/JSON.php')
0 files changed, 0 insertions, 0 deletions