PHP :: Bug #71889 :: DateInterval::format Segmentation fault
| Bug #71889 | DateInterval::format Segmentation fault | ||||
|---|---|---|---|---|---|
| Submitted: | 2016-03-23 13:35 UTC | Modified: | 2016-04-05 10:05 UTC | ||
| From: | p dot yatsukhnenko at gmail dot com | Assigned: | tpunt (profile) | ||
| Status: | Closed | Package: | Date/time related | ||
| PHP Version: | 5.5.33 | OS: | Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2016-03-23 13:35 UTC] p dot yatsukhnenko at gmail dot com
Description:
------------
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff548910a in strlen () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff548910a in strlen () from /lib64/libc.so.6
#1 0x0000000000458ffb in zif_date_interval_format ()
#2 0x0000000000749066 in ?? ()
#3 0x00000000006b558b in execute_ex ()
#4 0x0000000000679ade in zend_eval_stringl ()
#5 0x0000000000679c34 in zend_eval_stringl_ex ()
#6 0x000000000074ae6c in ?? ()
#7 0x00000000004563b9 in main ()
Test script:
---------------
<?php
$di = new DateInterval('P1D');
print $d->format("%");
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2016-03-24 00:28 UTC] tpunt@php.net
-Assigned To: +Assigned To: tpunt
[2016-03-24 00:30 UTC] tpunt@php.net
[2016-04-05 10:05 UTC] ab@php.net
-Status: Assigned +Status: Closed
[2016-04-05 10:05 UTC] ab@php.net