dis-bench / src /php /php-src /ext /fileinfo /tests /bug81723.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
487 Bytes
--TEST--
Bug #81723 (Memory corruption in finfo_buffer())
--EXTENSIONS--
fileinfo
--FILE--
<?php
$data = hex2bin("00018a7570001097db97979897977d87979797000092001f0051000000000000000000ffff7fff00000000001e0000000000000000000000000c0000000000000000000000000000dc0000000100000000000000004f011900007f0000000000180039000000000000000000000000000000dc0000000100000000000000004f011900007f0000f500000000eeff0000000000000000010000fd00");
$f = finfo_open();
finfo_buffer($f, $data);
?>
--EXPECT--