Edit report at https://bugs.php.net/bug.php?id=62565&edit=1

 ID:                 62565
 Updated by:         fel...@php.net
 Reported by:        fel...@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] fel...@php.net

Automatic comment on behalf of felipe...@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] fel...@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

Reply via email to