On Fri, 2011-01-14 at 17:15 +0300, Antony Dovgal wrote:
> Hi all!
> 
> Are there any objections if I disable E_DEPRECATED notice in dl() for FPM 
> SAPI?
> The notice is already disabled for CGI/FastCGI, CLI and Embed SAPIs.
> I believe there's no reason for this notice in case of FPM, too.
> 
> Patch: http://dev.daylessday.org/diff/fpm_dl_notice.diff

I think it can be quite dangerous if you have extensions living shorter
than the PHP process. Not only might dlclose() cause some leaks but
there are a few extensions playing with function pointers or opcode
handlers which aren't properly reset so a following request might try to
jump to invalid memory.

Additionally there's no restriction on this once safe_mode is gone, so
anybody could load any C extension - while that can be fixed by
advertising disable_function=dl


johannes


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to