Bug #62565 [Opn->Csd]: Crashes due non-initialized internal properties_table
| From: | felipe@php.net | Date: | Sat, 14 Jul 2012 15:27:47 +0000 |
| Subject: | Bug #62565 [Opn->Csd]: Crashes due non-initialized internal properties_table | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171952@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62565&edit=1
ID: 62565
Updated by: felipe@php.net
Reported by: felipe@php.net
Summary: Crashes due non-initialized internal
properties_table
-Status: Open
+Status: Closed
Type: Bug
Package: Scripting Engine problem
PHP Version: master-Git-2012-07-14 (Git)
-Assigned To:
+Assigned To: felipe
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-07-14 15:25:13] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0bff7cfadd0177601cd7b7253b7311d3bd13fa45
Log: - Fixed bug #62565 (Crashes due non-initialized internal properties_table)
------------------------------------------------------------------------
[2012-07-14 15:04:19] felipe@php.net
Description:
------------
I've checked using my fuzzer some crash due non-initialized property_table, see below. These
issues are related to the missing object_properties_init() call.
Test script:
---------------
Using a basic template code:
<?php
class foo extends %{classname} {
public $foo = 'test';
public function __construct() { }
}
$x = new foo;
var_dump($x);
I found issues with:
- Collator
- NumberFormatter
- IntlDateFormatter
- ResourceBundle
- Spoofchecker
- __PHP_Incomplete_Class
Expected result:
----------------
No crashes.
Actual result:
--------------
Crashes
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62565&edit=1