// SYSTEM PANEL //
[ROOT]
/
opt
/
alt
/
tests
/
alt-php82-pecl-xmlrpc_1.0.0-0.RC3.el8
/
tests
[ PARENT ]
EDIT :: bug51288.phpt
--TEST-- Bug #51288 (CVE-2010-0397, NULL pointer deref when no <methodName> in request) --SKIPIF-- <?php if (!extension_loaded("xmlrpc")) print "skip"; ?> --FILE-- <?php $method = NULL; $req = '<?xml version="1.0"?><methodCall></methodCall>'; var_dump(xmlrpc_decode_request($req, $method)); var_dump($method); echo "Done\n"; ?> --EXPECT-- NULL NULL Done
SAVE
CANCEL