Hello Stefan,

i made a fix for TSRM which is comitted but disabled by
#if MBO_0
could you add
#define MBO_0
at the to of TSRM/TSRM.c and check if that helps a bit?

marcus

Wednesday, June 2, 2004, 2:59:49 PM, you wrote:

> Stanislav Malyshev wrote:

>> I think you are right, it should be fixed in zend_post_incdec_property. Do
>> you have reproducing code example so it can be tested? 

> No it cannot be tested. In the default configuration Zend_MM is 
> activated. This will catch double frees. No violation will happen when 
> it is activated. This is why valgrind etc... do not catch it.

> And I think there is another bug with simple classes on termination
> of a request.

> class xy
> {
>       function a()
>       {
>       }
> }

> $y = new xy();

> crashes over here with Hardened-PHP applied AND maintainer-zts 
> activated. It crashs in a llist destruction from within
> zend_deactivate. The reason for the crash seems that the memory
> pointed to by TRMS_ls is already freed.

> Stefan




-- 
Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

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

Reply via email to