/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
dom
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/dom/tests/bug66783.phpt
--TEST-- Bug #66783 (UAF when appending DOMDocument to element) --SKIPIF-- <?php if (!extension_loaded('dom')) die('skip dom extension not available'); ?> --FILE-- <?php $doc = new DomDocument; $doc->loadXML('<root></root>'); $e = $doc->createElement('e'); try { $e->appendChild($doc); } catch (DOMException $ex) { echo $ex->getMessage(), PHP_EOL; } ?> --EXPECTF-- Hierarchy Request Error
Copyright ©2k19 -
Hexid
|
Tex7ure