1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Files
archived-php-src/ext/phar/tests/bug69324.phpt
T
Nikita Popov 7485978339 Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

17 lines
326 B
PHP

--TEST--
Bug #69324: Buffer Over-read in unserialize when parsing Phar
--EXTENSIONS--
phar
--FILE--
<?php
try {
$p = new Phar(__DIR__.'/bug69324.phar', 0);
$meta=$p->getMetadata();
var_dump($meta);
} catch(Exception $e) {
echo $e->getMessage();
}
?>
--EXPECTF--
internal corruption of phar "%s" (truncated manifest entry)