Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix segfault after calling tixiImportElementFromString with libxml2 >= 2.10 #234

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

melven
Copy link
Contributor

@melven melven commented Mar 16, 2025

Fixes #233

@melven
Copy link
Contributor Author

melven commented Mar 16, 2025

I also looked at all other occurrences of xmlAddChild and xmlAddPrevSibling: they all seem to create a new xml node first.
So the other places shouldn't be affected by this problem...

@melven
Copy link
Contributor Author

melven commented Mar 16, 2025

Related issue in libxml2 explaining the "changed" behavior: https://gitlab.gnome.org/GNOME/libxml2/-/issues/680

And it would be nice if we could make a new tixi release soon. We have several systems that are affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfaults or errors with tixi-3.3.0 and libxml >= 2.10
2 participants