Bug #2161 Updated: wddx deserializes crashes httpd
| From: | Bug Database | Date: | Fri, 27 Aug 1999 21:31:09 +0000 |
| Subject: | Bug #2161 Updated: wddx deserializes crashes httpd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10273@lists.php.net to get a copy of this message | ||
ID: 2161
User Update by: jeffgus@sdnonline.com
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