xref: /PHP-7.2/ext/phar/tests/bug71354.phpt (revision f1d7e3ca)
1--TEST--
2Phar: bug #71354: Heap corruption in tar/zip/phar parser.
3--SKIPIF--
4<?php if (!extension_loaded("phar")) die("skip"); ?>
5--FILE--
6<?php
7$p = new PharData(__DIR__."/bug71354.tar");
8var_dump($p['aaaa']->getContent());
9?>
10DONE
11--EXPECT--
12string(0) ""
13DONE
14