You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hash() function hangs endlessly if using sha512 on strings >= 4GiB #12936
f918f25f32fe81f274619743e661a4158f176384d74b46bce7c4305f160119ce727204db2910ff287535ca2e40c2a98f2d23b40c82afbcca750a532b9843e3bc
calculating hash took 14s
But I expected this output instead:
f918f25f32fe81f274619743e661a4158f176384d74b46bce7c4305f160119ce727204db2910ff287535ca2e40c2a98f2d23b40c82afbcca750a532b9843e3bc
calculating hash took 14s
...hash goes here...
calculating hash took 14s
Activity
ndossche commentedon Dec 11, 2023
Looks like it's using
unsigned intin some places... I'll check them all.Fix GH-12936: hash() function hangs endlessly if using sha512 on stri…
Merge branch 'PHP-8.2' into PHP-8.3
Merge branch 'PHP-8.3'