Fwd: Re: [PHP-DEV] circular crash testcase

From: Date: Mon, 14 Aug 2000 19:48:13 +0000
Subject: Fwd: Re: [PHP-DEV] circular crash testcase
Groups: php.qa 
Request: Send a blank email to php-qa+get-694@lists.php.net to get a copy of this message
FYI. Date: Mon, 14 Aug 2000 22:23:32 +0300
To: waldschrott <waldschrott@kiffen.de>,php-dev@lists.php.net From: Andi Gutmans <andi@zend.com> Subject: Re: [PHP-DEV] circular crash testcase Hey, I just commited a patch which hopefully closes all of these bugs. Note that your example leaks now like it should in a reference counting environment. It is of course cleaned up at the end of the request. I hope I didn't break anything with this patch. Such patches tend to propogate to weird places to please test it. Andi At 03:43 PM 8/14/00 +0200, waldschrott wrote:
correction (but crashes anyway), there´s one & too many:
<?php class a { } class b { function b(&$obj) { $this->a=&$obj;
should read $this->a=$obj;
$this->a->b=&$this; }} $a=new a; $b=new b($a); ?> //var_dump($b);
--
o----------0-¬---------O-·---¬----o---®-----o o    O   °       .
| http://www.kiffen.de | pRoteçt y0ur bRaín |0  O °     ¤  °        ·
0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . ·
| psychedelic experience |  gott@kiffen.de  | O   ° o           °
o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·
--- Andi Gutmans <andi@zend.com> http://www.zend.com/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.qa (#694) next »