xref: /PHP-8.0/ext/phar/tests/bug71354.phpt (revision d679f022)
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