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/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
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
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/Users/Michiel/Documents/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('/Users/Michiel/...')
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 "/Users/alexander/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('/Users/alexande...')
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 "/Users/birne/php5download/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('/Users/birne/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
1 (2%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: zlib extension is required in zip-based phar "/Users/brunobreton/Desktop/News/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('/Users/brunobre...')
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 "/Users/sho/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('/Users/sho/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 "/export/home/damonz/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('/export/home/da...')
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/alejandro/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/alejandro...')
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/andref/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/andref/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/artem/Programms/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/artem/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 "/home/hoyang/temp/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/hoyang/te...')
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/larry/Workshop/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/larry/Wor...')
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/leon/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/leon/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/lext/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/lext/Down...')
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/manop/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/manop/Dow...')
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/marcel/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/marcel/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/mat/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/mat/Downl...')
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