php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #71830 Segmentation fault on clone
Submitted: 2016-03-15 17:11 UTC Modified: 2016-03-15 17:17 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: feyowuf at dlemail dot ru Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 7.0.4 OS: Linux 3.12
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: feyowuf at dlemail dot ru
New email:
PHP Version: OS:

 

 [2016-03-15 17:11 UTC] feyowuf at dlemail dot ru
Description:
------------
Segmentation fault happens in some circumstances when cloning an object.

Test script:
---------------
clone new class {
    public function __clone() {
        clone $this;
    }
};

Expected result:
----------------
Some sort of Fatal Error

Actual result:
--------------
Segmentation fault

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-15 17:17 UTC] nikic@php.net
-Status: Open +Status: Duplicate
 [2016-03-15 17:17 UTC] nikic@php.net
Duplicate of bug #64196.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 16:01:29 2024 UTC