Edit report at https://bugs.php.net/bug.php?id=55397&edit=1

 ID:                 55397
 Patch added by:     larue...@php.net
 Reported by:        ladislav at marek dot su
 Summary:            comparsion of incomplete DateTime causes SIGSEGV
 Status:             Analyzed
 Type:               Bug
 Package:            Date/time related
 Operating System:   Linux
 PHP Version:        5.3.7RC4
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: bug55397.phpt
Revision:   1313338178
URL:        
https://bugs.php.net/patch-display.php?bug=55397&patch=bug55397.phpt&revision=1313338178


Previous Comments:
------------------------------------------------------------------------
[2011-08-14 16:09:23] larue...@php.net

The following patch has been added/updated:

Patch Name: bug55397.diff
Revision:   1313338163
URL:        
https://bugs.php.net/patch-display.php?bug=55397&patch=bug55397.diff&revision=1313338163

------------------------------------------------------------------------
[2011-08-11 10:01:44] ladislav at marek dot su

Description:
------------
PHP ends with SIGSEGV when comparing incompletely unserialized DateTime.

Test script:
---------------
date_default_timezone_set('Europe/Prague');
var_dump(unserialize('O:8:"DateTime":0:{}') == new DateTime);

Expected result:
----------------
bool(false)

Actual result:
--------------
SIGSEGV


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55397&edit=1

Reply via email to