PHP :: Bug #60558 :: Invalid read and writes
| Bug #60558 | Invalid read and writes | ||||
|---|---|---|---|---|---|
| Submitted: | 2011-12-19 04:05 UTC | Modified: | 2011-12-19 16:49 UTC | ||
| From: | laruence@php.net | Assigned: | laruence (profile) | ||
| Status: | Closed | Package: | Scripting Engine problem | ||
| PHP Version: | 5.4.0RC3 | OS: | |||
| Private report: | No | CVE-ID: | None | ||
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2011-12-19 04:53 UTC] laruence@php.net
[2011-12-19 08:55 UTC] laruence@php.net
seems something wrong with the refcount of zval in traits's default_properties_table[i]. but I have not figured out what's going wrong. A more simple test: <?php trait A { private $hello = 0; } class BaseWithTPropB{ use A; } class SubclassB extends BaseWithTPropB { use A; } $b = new SubClassB; var_dump($b); ?> plz run valgrind like: USE_ZEND_ALLOC=0 valgrind --db-attach=yes --leak-check=full php test.php[2011-12-19 10:07 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
[2011-12-19 10:07 UTC] laruence@php.net
[2011-12-19 12:00 UTC] laruence@php.net
[2011-12-19 12:46 UTC] laruence@php.net
-Assigned To: laruence +Assigned To: gron
[2011-12-19 12:46 UTC] laruence@php.net
[2011-12-19 13:20 UTC] gron@php.net
[2011-12-19 16:49 UTC] laruence@php.net
-Status: Re-Opened +Status: Closed -Assigned To: +Assigned To: laruence