[PHP-DEV] Bug #2161 Updated: wddx deserializes crashes httpd From: Bug Database (php-dev <email protected>)
Date: 08/27/99

ID: 2161
User Update by: jeffgus <email protected>
Status: Open
Bug Type: Reproduceable crash
Description: wddx deserializes crashes httpd

Here it is (sorry for the delay).
This one seems to die on the encode:

$a[] = array ( "test" => "aasdf asdf asd fasdf asdf asdf asdf",
               "asdf" => "123 134 134 123 123 4",
               "abcdef" => "sdafklwefj wioa fwia",
               array ( "a" => "test", "b" => "test1", "c" => "test2" )
               );

$b[] = array();

for ( $i = 0; $i < 100; $i++ ) {
  $b[] = $a;
}
echo "<pre>";
# var_dump ($b);
$packet_id = wddx_packet_start("PHP");
wddx_add_vars($packet_id, "b");
$packet = wddx_packet_end($packet_id);
print htmlentities($packet);
wddx_deserialize($packet);

Full Bug description available at: http://bugs.php.net/?id=2161

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>