Bug #69485 [Opn->Csd]: Double free on zend_list_dtor
| From: | laruence@php.net | Date: | Mon, 20 Apr 2015 03:58:45 +0000 |
| Subject: | Bug #69485 [Opn->Csd]: Double free on zend_list_dtor | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192221@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69485&edit=1
ID: 69485
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: Double free on zend_list_dtor
-Status: Open
+Status: Closed
Type: Bug
Package: Scripting Engine problem
PHP Version: master-Git-2015-04-20 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d66045fe73fb646f15a45286313231908e656a37
Log: Fixed bug #69485 (Double free on zend_list_dtor).
Previous Comments:
------------------------------------------------------------------------
[2015-04-20 03:36:15] laruence@php.net
Description:
------------
double free on recursively call to list dtor
Test script:
---------------
<?php
class O {
public $ch;
public function dummy() {
}
}
$ch = curl_init();
$o = new O;
$o->ch = $ch;
curl_setopt($ch, CURLOPT_WRITEFUNCTION, array($o, "dummy"));
Expected result:
----------------
non segfault
Actual result:
--------------
segfault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69485&edit=1