Bug #2161: wddx deserializes crashes httpd
| From: | jeffgus at sdnonline dot com | Date: | Thu, 26 Aug 1999 09:04:27 +0000 |
| Subject: | Bug #2161: wddx deserializes crashes httpd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10215@lists.php.net to get a copy of this message | ||
From: jeffgus@sdnonline.com
Operating system: Linux
PHP version: 3.0 Latest CVS (26/08/1999)
PHP Bug Type: Reproduceable crash
Bug description: wddx deserializes crashes httpd
I tried the latest in CVS, but wddx_descrialize still kills httpd. Does wddx just stink or what?
All I did was make a loop with data from a database:
$a[$appt_type] = $event_no;
var_dump($a);
$packet_id = wddx_packet_start("PHP");
wddx_add_vars($packet_id, "a");
$packet = wddx_packet_end($packet_id);
print htmlentities($packet);
$test =wddx_deserialize($packet_id);
Here's the backtrace:
#0 0x401de920 in _php3_wddx_deserialize (packet=0x810bfb8,
return_value=0x4025869c) at functions/wddx_a.c:632
#1 0x401dee19 in php3_wddx_deserialize (ht=0x8175740,
return_value=0x4025869c, list=0x4026a02c, plist=0x4026a000)
at functions/wddx_a.c:845
#2 0x401f0873 in phpparse () at control_structures_inline.h:934
#3 0x401a0b72 in php3_parse (yyin=0x80b8bf8) at main.c:1553
#4 0x401a0e50 in apache_php3_module_main (r=0x80b5e64, fd=23,
display_source_mode=0, preprocessed=0) at main.c:1934
#5 0x4019df65 in send_php3 ()
#6 0x4019dfdf in send_parsed_php3 ()
#7 0x80515b2 in ap_invoke_handler ()
#8 0x805fb4b in ap_some_auth_required ()
#9 0x805fba8 in ap_process_request ()
#10 0x8059b84 in ap_child_terminate ()
#11 0x8059cbb in ap_child_terminate ()
#12 0x8059dc4 in ap_child_terminate ()
#13 0x805a27b in ap_child_terminate ()
#14 0x805a9ce in main ()