mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
90800b62bb
Co-authored-by: haszi <haszika80@gmail.com>
22 lines
359 B
PHP
22 lines
359 B
PHP
--TEST--
|
|
Bug #72660 (NULL Pointer dereference in zend_virtual_cwd)
|
|
--EXTENSIONS--
|
|
zip
|
|
--SKIPIF--
|
|
<?php
|
|
if(!PHP_ZTS) { die('skip ZTS required'); }
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$zip = new ZipArchive();
|
|
$zip->open(__DIR__ . "/bug72660.zip", ZIPARCHIVE::CREATE);
|
|
$zip->addPattern("/noexists/");
|
|
?>
|
|
okey
|
|
--CLEAN--
|
|
<?php
|
|
@unlink(__DIR__ . "/bug72660.zip");
|
|
?>
|
|
--EXPECT--
|
|
okey
|