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:
 [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-2017 The PHP Group
All rights reserved.
Last updated: Fri Jul 21 06:01:37 2017 UTC