Test: /ext/phar/tests/bug70433.phpt - Version 7.0.0RC4        

Security #70433 Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Submitted: 2015-09-05 11:42:46 Modified: 2015-10-11 10:53:55
From: hugh Assigned: kaplan
Status: Closed Package: PHAR related
PHP Version: 5.6Git-2015-09-05 (Git) OS: Linux

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

Count Diff
6 (11%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/root/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/root/php-7.0.0...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
4 (7%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/usr/local/src/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/usr/local/src/...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
3 (6%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/tmp/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/tmp/php-7.0.0R...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
2 (4%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/jeroen/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/jeroen/ph...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
2 (4%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/admin/projects/php7/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/admin/pro...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/var/php/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/var/php/php-7....')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/usr/local/src/php7/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/usr/local/src/...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/usr/local/src/php/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/usr/local/src/...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/tmp/php70/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/tmp/php70/php-...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/tmp/php-src/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/tmp/php-src/ex...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/tmp/baker/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/tmp/baker/php-...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/vincent/Téléchargements/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/vincent/T...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/vallabh/php7/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/vallabh/p...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/vagrant/php-src-php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/vagrant/p...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/vagrant/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/vagrant/p...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/tvequaud/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/tvequaud/...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/sylvain/TEMP/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/sylvain/T...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/ricardo/Documents/php/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/ricardo/D...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/petersonwpm/src/php-src-php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/petersonw...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/ossama/Downloads/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/ossama/Do...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/home/olli/php-7.0.0RC4/ext/phar/tests/bug70433.zip" in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/olli/php-...')
004+ #1 {main}
005+ thrown in %s/bug70433.php on line 2
001- object(PharData)#1 (3) {
002- ["pathName":"SplFileInfo":private]=>
003- string(0) ""
004- ["glob":"DirectoryIterator":private]=>
005- bool(false)
006- ["subPathName":"RecursiveDirectoryIterator":private]=>
007- string(0) ""
008- }
009- NULL
010- DONE