Bug #72888 [Opn->Csd]: Segfault on clone on splFileObject
| From: | laruence@php.net | Date: | Fri, 19 Aug 2016 03:28:58 +0000 |
| Subject: | Bug #72888 [Opn->Csd]: Segfault on clone on splFileObject | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203389@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72888&edit=1
ID: 72888
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: Segfault on clone on splFileObject
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
PHP Version: 7.1.0beta2
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=566d65d222c00210aa67d6b937021c8100f54678
Log: Fixed bug #72888 (Segfault on clone on splFileObject)
Previous Comments:
------------------------------------------------------------------------
[2016-08-19 03:26:00] laruence@php.net
Description:
------------
none
Test script:
---------------
<?php
$x=new SplFileObject(__FILE__);
try {
$y=clone $x;
} catch (Error $e) {
}
var_dump($y);
Expected result:
----------------
no segfault
Actual result:
--------------
segfault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72888&edit=1