Suhosin 0.9.27 - The Joy of LAZY Symbol Loading
August 23rd, 2008 | by Stefan Esser |I had to release Suhosin 0.9.27 today, because in two places within the replacement rand() and mt_rand() functions the string ‘php_’ was not replaced by ’suhosin_’. The result of this is that version 0.9.26 of the extension will not load on systems with lazy symbol loading disabled and on the rest the PHP process will die once 624 random numbers are generated because the symbol of the reloading function is not found.
It is therefore strongly recommended to upgrade immediately to Suhosin 0.9.27
You can grab your copy as usual at
PS.: I will be happy if someone can tell me how to disable lazy symbol loading on Mac OS X, because obviously neither LD_BIND_NOW nor -bind_at_load seem to work correctly.





2 Responses to “Suhosin 0.9.27 - The Joy of LAZY Symbol Loading”
By toni on Sep 10, 2008 | Reply
Have you tried DYLD_BIND_AT_LAUNCH?
When this is set, the dynamic linker binds all undefined symbols the program needs at launch time. This includes function symbols that can are normally lazily bound at the time of their first call.
from “man dyld”