php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72888 Segfault on clone on splFileObject
Submitted: 2016-08-19 03:26 UTC Modified: -
From: laruence@php.net Assigned:
Status: Closed Package: *General Issues
PHP Version: 7.1.0beta2 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: laruence@php.net
New email:
PHP Version: OS:

 

 [2016-08-19 03:26 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-19 03:28 UTC] laruence@php.net
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)
 [2016-08-19 03:28 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2016-10-17 10:09 UTC] bwoebi@php.net
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)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC