PATH:
opt
/
alt
/
tests
/
alt-php85-pecl-xmlrpc_1.0.0-0.RC3.el8
/
tests
--TEST-- Bug #70728 (Type Confusion Vulnerability in PHP_to_XMLRPC_worker) --SKIPIF-- <?php if (!extension_loaded("xmlrpc")) print "skip"; if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php $obj = new stdClass; $obj->xmlrpc_type = 'base64'; $obj->scalar = 0x1122334455; var_dump(xmlrpc_encode($obj)); var_dump($obj); ?> --EXPECT-- string(135) "<?xml version="1.0" encoding="utf-8"?> <params> <param> <value> <base64>NzM1ODgyMjkyMDU= </base64> </value> </param> </params> " object(stdClass)#1 (2) { ["xmlrpc_type"]=> string(6) "base64" ["scalar"]=> float(73588229205) }
[-] 003.phpt
[edit]
[-] bug70728.phpt
[edit]
[-] 001.phpt
[edit]
[-] bug40576.phpt
[edit]
[-] 006.phpt
[edit]
[-] bug72155.phpt
[edit]
[-] bug45226.phpt
[edit]
[-] bug18916.phpt
[edit]
[-] bug61264.phpt
[edit]
[-] bug40576_64bit.phpt
[edit]
[-] bug61097.phpt
[edit]
[-] bug50282.phpt
[edit]
[-] bug71501.phpt
[edit]
[-] 007.phpt
[edit]
[-] bug47818.phpt
[edit]
[-] bug50761.phpt
[edit]
[-] bug42189.phpt
[edit]
[-] 004.phpt
[edit]
[-] bug50285.phpt
[edit]
[-] bug77242.phpt
[edit]
[+]
..
[-] bug70728_64bit.phpt
[edit]
[-] 002.phpt
[edit]
[-] bug37057.phpt
[edit]
[-] bug42736.phpt
[edit]
[-] 005.phpt
[edit]
[-] bug70526.phpt
[edit]
[-] bug38431.phpt
[edit]
[-] bug51288.phpt
[edit]
[-] bug45555.phpt
[edit]
[-] bug77380.phpt
[edit]
[-] bug68027.phpt
[edit]
[-] bug74975.phpt
[edit]
[-] bug45556.phpt
[edit]
[-] bug44996.phpt
[edit]
[-] bug72647.phpt
[edit]