php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70619 DateTimeImmutable segfault
Submitted: 2015-10-02 06:25 UTC Modified: -
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: py dot stephane1 at gmail dot com Assigned:
Status: Closed Package: date_time (PECL)
PHP Version: 5.6Git-2015-10-02 (Git) OS: Mac OS 10.10.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: py dot stephane1 at gmail dot com
New email:
PHP Version: OS:

 

 [2015-10-02 06:25 UTC] py dot stephane1 at gmail dot com
Description:
------------
Segfault on DateTimeImmutable::createFromMutable(null);

Test script:
---------------
php -r "\DateTimeImmutable::createFromMutable(null);"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-02 07:25 UTC] guillaume at verylastroom dot com
Nice catch !

Occurring on Ubuntu 14.04.2 LTS too
 [2015-10-02 14:22 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c98ea8465bd7a686cd7ee23c403b2f9dab6e3449
Log: Fixed bug #70619 (DateTimeImmutable segfault)
 [2015-10-02 14:22 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2015-10-13 10:12 UTC] ab@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c98ea8465bd7a686cd7ee23c403b2f9dab6e3449
Log: Fixed bug #70619 (DateTimeImmutable segfault)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC