Bug #10936: DOMXML crash with CDATA
| From: | matthew dot kane at bigfoot dot com | Date: | Thu, 17 May 2001 17:21:56 +0000 |
| Subject: | Bug #10936: DOMXML crash with CDATA | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55649@lists.php.net to get a copy of this message | ||
From: matthew.kane@bigfoot.com
Operating system: Win2K Pro
PHP version: 4.0.5
PHP Bug Type: Reproducible crash
Bug description: DOMXML crash with CDATA
I am running the latest Win32 binaries from the php.net download page. I am using the ISAPI module
on IIS5. In php.ini I enabled DOMXML by uncommenting the appropriate line.
Calling the children function on a node that has a CDATA node as a child results in an access
violation. Here's a script that reproduces the problem:
$doc = xmldocfile('http://tbhbuilding.blogspot.com');
$root = $doc->root();
$children = $root->children();
$children = $children[1]->children();
print_r($children[1]->children());
I would have generated a gdb backtrace if the instructions for doing so explained how to do it with
the ISAPI module.
--
Edit Bug report at: http://bugs.php.net/?id=10936&edit=1