Bug #2970: segfault relaed to xml_set_unparsed_entitiy_decl_handler
| From: | paul dot c at gmx dot de | Date: | Mon, 13 Dec 1999 20:53:17 +0000 |
| Subject: | Bug #2970: segfault relaed to xml_set_unparsed_entitiy_decl_handler | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13640@lists.php.net to get a copy of this message | ||
From: paul.c@gmx.de
Operating system: SUSE Linux 6.1
PHP version: 3.0.12
PHP Bug Type: Reproduceable crash
Bug description: segfault relaed to xml_set_unparsed_entitiy_decl_handler
this i my fist time i put my head into some open source code. so i dont relly know what to do....
it is probably just a copy and paste mistake....
the args array was too short... i fixed by changin the following line in xml.c
old line:905 pval *retval, *args[5];
new line:905 pval *retval, *args[6];
if anyone has questions of if i did put it in the wrong place ... send me a mail...