Skip to content
Snippets Groups Projects
Commit 63cc312f55cd authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Fix xmlSetTreeDoc with entity references

The children member of entity reference nodes points to the entity
declaration and must never be followed when traversing a tree. In
the worst case, this could lead to an infinite loop.

It's somewhat unclear how moving entity references to other documents
should work exactly. For now we simply set the children pointer to NULL
to avoid a reference to the original document.

Fixes #42.
parent a543d4e9da42
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment