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