Test: /ext/phar/tests/bug70433.phpt - Version 5.6.14        

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 353 different diffs reported by users for this test.

Count Diff
68 (10%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/usr/local/src/php-5.6.14/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
63 (9%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/root/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/root/php-5.6.1...')
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
20 (3%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/opt/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/opt/php-5.6.14...')
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
16 (2%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/usr/local/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/usr/local/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
16 (2%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/tmp/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/tmp/php-5.6.14...')
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
15 (2%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/usr/src/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/usr/src/php-5....')
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
8 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/home/pi/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/pi/php-5....')
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
7 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/home/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/php-5.6.1...')
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
6 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/home/software/sources/php/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/software/...')
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
6 (1%)
5 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/usr/local/php/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/usr/local/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
5 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/root/下载/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/root/\xE4\xB8\x8B\xE8\xBD\xBD/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
5 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/root/lamp/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/root/lamp/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
5 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/packs/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/packs/php-5.6....')
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
5 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/data/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/data/php-5.6.1...')
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 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/usr/local/php/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/usr/local/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
4 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/root/php/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/root/php/php-5...')
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 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/root/Downloads/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/root/Downloads...')
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 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/private/tmp/updates/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/private/tmp/up...')
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 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/php1/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/php1/php-5.6.1...')
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 (1%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/home/maker/php-5.6.14/ext/phar/tests/bug70433.zip"' in %s/bug70433.php:2
002+ Stack trace:
003+ #0 %s/bug70433.php(2): PharData->__construct('/home/maker/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