ID:               20209
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Analyzed
+Status:           Closed
 Bug Type:         DOM XML related
 Operating System: linux
 PHP Version:      4CVS-2002-11-01
 Assigned To:      chregu
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2002-11-01 03:31:36] [EMAIL PROTECTED]

if a text_node is appended to a node, then it can lead to segfaults if
the last child of the node is also a text-node.

this is because libxml2 frees then the node. (from their docu: "Add a
new node to parent, at the end of the child (or property) list merging
adjacent TEXT nodes (in which case cur is freed) If the new node was
already inserted in a document it is first unlinked from its existing
context. If the new node is ATTRIBUTE, it is added into properties
instead of children. If there is an attribute with equal name, it is
first destroyed.") and we don't...

I'll try to find a solution

chregu




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20209&edit=1

Reply via email to