PHP 4.0 Bug #8643: Crash in xml_parse; with fix
| From: | jon at simantov dot net | Date: | Wed, 10 Jan 2001 21:54:51 +0000 |
| Subject: | PHP 4.0 Bug #8643: Crash in xml_parse; with fix | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43737@lists.php.net to get a copy of this message | ||
From: jon@simantov.net
Operating system: Linux, others?
PHP version: 4.0.4
PHP Bug Type: XML related
Bug description: Crash in xml_parse; with fix
There is a bug in PHP 4.0.4 which causes a segmentation fault in the xml_parse() function. I've
seen several other people reporting the bug; it seems to be highly reproducible.
I've found that the bug is fixed in cvs version 1.67 of xml.c, which changes the call to
call_user_function to make it work right, as it is broken in the 4.0.4 release code. Using that
version of xml.c, and the standard versions of all the other files, seems to stop it from
segfaulting.
--
Edit Bug report at: http://bugs.php.net/?id=8643&edit=1