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: Unexpected closing tag caused segfaults #112

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

2xB
Copy link
Member

@2xB 2xB commented Jun 10, 2024

E.g. the following minimal XML file caused segmentation faults:

</if>

This is fixed by throwing an appropriate error instead.

Most of the code is just copied from the error thrown in a similar case directly below. The line generating that error message was also what caused the segmentation fault.

2xB added 2 commits June 10, 2024 18:04
E.g. the following minimal XML file caused segmentation faults:
```
</if>
```

This is fixed by throwing an appropriate error instead.
@richeldichel richeldichel merged commit e9bd1f1 into KATRIN-Experiment:main Aug 16, 2024
4 checks passed
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.

2 participants