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

improved handling/testing of XMLs without a a root node / added some TODOs #6086

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Mar 5, 2024

This is based on a Coverity finding in SuppressionList::parseXmlFile(). --suppress-xml was actually crashing when a XML without a root node was provided.

@firewave
Copy link
Collaborator Author

firewave commented Mar 5, 2024

We could probably pull out some of the generic code and share it.

I also did not add tests for the analysis information/build dir files as I am still not familiar with that stuff.

@chrchr-github chrchr-github merged commit 260ae3c into danmar:main Mar 6, 2024
64 checks passed
@firewave firewave deleted the xml-no-root branch March 6, 2024 12:49
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