Test: /ext/spl/tests/bug78863.phpt - Version 5.6.41-dev        

Security #78863 DirectoryIterator class silently truncates after a null byte
Submitted: 2019-11-23 10:01:56 Modified: 2019-12-16 19:01:48
From: ryat Assigned: stas
Status: Closed Package: SPL related
PHP Version: 7.3.12 OS: *

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

Count Diff
2 (67%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'DirectoryIterator::__construct() expects parameter 1 to be a valid path, string given' in %s/bug78863.php:8
001- Fatal error: Uncaught exception 'UnexpectedValueException' with message: DirectoryIterator::__construct() expects parameter 1 to be a valid path, string given in %s:%d
1 (33%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'DirectoryIterator::__construct() expects parameter 1 to be a valid path, string given' in %s/bug78863.php:8
001- Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct() expects parameter 1 to be a valid path, string given in %s:%d