Re: Dismantling the lies...
| From: | Stefan Esser | Date: | Sun, 20 May 2007 21:29:16 +0000 |
| Subject: | Re: Dismantling the lies... | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29583@lists.php.net to get a copy of this message | ||
Cristian Rodriguez schrieb:
>> Here is the patch I created in approximately half an hour. A solution to
>> a problem
>
>> that is *NOT* fixable at the moment, according to Stanislav.
>
> at openSUSE, we also have a patch for this issue since a few weeks, as
> a vendor unfortunately we have to take care of things that people
> here dont want to fix...
>
> http://www.flyspray.org/patches/MOPB-01-abicompatible.patch.bz2
>
I only see one major problem with this patch. You just call zend_error()
when a possible
integer overflow is detected. This is however not really safe. Refcount
increases etc...
are usually done deep in the engine and it is not ensured that in case
of a bailout
this cannot result in destruction of structures that were only partialy
initialised.
Stefan Esser