xref: /PHP-7.0/ext/phar/tests/bug71488.phpt (revision a6fdc5bb)
1--TEST--
2Phar: bug #71488: Stack overflow when decompressing tar archives
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5--FILE--
6<?php
7$p = new PharData(__DIR__."/bug71488.tar");
8$newp = $p->decompress("test");
9?>
10
11DONE
12--CLEAN--
13<?php
14@unlink(__DIR__."/bug71488.test");
15?>
16--EXPECT--
17DONE