Hi: Thanks guys!
I have only briefly rechecked the code, and dont remember at the moment how the default property table works, but for me it feels like these offsets are also incorrect for public or protected stuff that gets newly added to the class? Best regards Stefan On 19 Dec 2011, at 17:48, Xinchen Hui wrote: > laruence Mon, 19 Dec 2011 16:48:18 +0000 > > Revision: http://svn.php.net/viewvc?view=revision&revision=321166 > > Log: > Fixed bug #60558 (Invalid read and writes) > Re-Fixed bug #60536 (Traits Segfault) > #Thanks to tony2001, I found the previous fix -r321089 is actually not a > correct one. > #The key problem there is because the traits didn't correct set the > property_info.offset > #for private properties. so here come the new fix. > > Bugs: https://bugs.php.net/60558 (Re-Opened) Invalid read and writes > https://bugs.php.net/60536 (Closed) Traits Segfault > > Changed paths: > U php/php-src/branches/PHP_5_4/NEWS > U php/php-src/branches/PHP_5_4/Zend/zend_compile.c > U php/php-src/branches/PHP_5_4/Zend/zend_object_handlers.c > U php/php-src/trunk/Zend/zend_compile.c > U php/php-src/trunk/Zend/zend_object_handlers.c > > <svn-diffs-321166.txt>-- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525 -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
