xref: /PHP-7.3/ext/xmlrpc/tests/bug77242.phpt (revision 9c62b95e)
1--TEST--
2Bug #77242 (heap out of bounds read in xmlrpc_decode())
3--SKIPIF--
4<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
5--FILE--
6<?php
7var_dump(xmlrpc_decode(base64_decode("PD94bWwgdmVyc2lvbmVuY29kaW5nPSJJU084ODU5NyKkpKSkpKSkpKSkpKSkpKSkpKSkpKSk")));
8?>
9--EXPECT--
10NULL