Test: /ext/date/tests/bug66721.phpt - Version 7.4.0-dev        

Bug #66721 __wakeup of DateTime segfaults when invalid object data is supplied
Submitted: 2014-02-16 00:47:04 Modified:
From: cedric Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5.6Git-2014-02-15 (Git) OS:

There are 2 different diffs reported by users for this test.

Count Diff
4 (67%)
001+ Segmentation fault (core dumped)
002+
003+ Termsig=11
001- Fatal error: Uncaught Error: Invalid serialization data for DateTime object in %sbug66721.php:%d
002- Stack trace:
003- #0 [internal function]: DateTime->__wakeup()
004- #1 %sbug66721.php(%d): unserialize('O:8:"DateTime":...')
005- #2 {main}
006- thrown in %sbug66721.php on line %d
2 (33%)
004+ #1 %s/bug66721.php(3): unserialize()
004- #1 %sbug66721.php(%d): unserialize('O:8:"DateTime":...')