https://bugzilla.wikimedia.org/show_bug.cgi?id=35894
--- Comment #7 from Sam Reed (reedy) <s...@reedyboy.net> 2012-04-12 13:41:52 UTC --- https://bugs.php.net/bug.php?id=55169 "When using the 5.4 snaps calling mcrypt_create_iv with either MCRYPT_DEV_RANDOM or MCRYPT_DEV_URANDOM as source always fails to gather sufficient random data regardless of the specified size." All seemingly on windows https://bugs.php.net/bug.php?id=52523 Test script: --------------- The following code should loop forever, but does not do so on Windows (XP and Windows 7): php -r "$i=0; while( mcrypt_create_iv(16) !== false ) {echo ($i++).'.';};" Expected result: ---------------- Infinite loop. Actual result: -------------- 0.1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17. Fatal error: mcrypt_create_iv(): Could not gather sufficient random data in Command line code on line 1 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l