After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 58056 - segfault in xmlCopyNode with xmlDoc arg
segfault in xmlCopyNode with xmlDoc arg
Status: VERIFIED FIXED
Product: libxml
Classification: Deprecated
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2001-07-25 16:15 UTC by Thomas Broyer
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a little test case (183 bytes, text/plain)
2001-07-25 16:16 UTC, Thomas Broyer
Details

Description Thomas Broyer 2001-07-25 16:15:13 UTC
libxml segfaults when you try to copy an xmlDoc node.
It appears in xmlStrdup(node->content).
If you add XML_DOCUMENT_NODE to the test, there are similar problems
farther with other fields of xmlNode that are not part of xmlDoc (node->ns).

I guess there are similar problems with other kinds of nodes.
Comment 1 Thomas Broyer 2001-07-25 16:16:37 UTC
Created attachment 780 [details]
a little test case
Comment 2 Daniel Veillard 2001-07-31 09:50:49 UTC
fixed in CVs last week,

Daniel
Comment 3 Daniel Veillard 2001-08-15 15:32:09 UTC
Should be closed in 2.4.2 release,

  thanks,

Daniel