Skip to content

fixed reference to invalid container entry in PathMatch::match() - detected by Coverity #7725

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

Merged
merged 1 commit into from
Aug 14, 2025

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Aug 7, 2025

No description provided.

Copy link

sonarqubecloud bot commented Aug 7, 2025

@firewave
Copy link
Collaborator Author

firewave commented Aug 7, 2025

@glankk
This was introduced in 4d5a7f9. I think we need to backport this to 2.18.x just to be safe.

I filed https://trac.cppcheck.net/ticket/14061 about detecting this ourselves.

@firewave firewave marked this pull request as draft August 7, 2025 12:54
@firewave firewave changed the title pathmatch.cpp: fixed reference to invalid container entry - detected by Coverity fixed reference to invalid container entry in PathMatch::match() - detected by Coverity Aug 7, 2025
@firewave firewave marked this pull request as ready for review August 12, 2025 11:17
@glankk
Copy link
Collaborator

glankk commented Aug 14, 2025

@glankk This was introduced in 4d5a7f9. I think we need to backport this to 2.18.x just to be safe.

Agreed. Change looks good.

@firewave firewave merged commit ceb87bf into danmar:main Aug 14, 2025
63 checks passed
@firewave firewave deleted the pathmatch-x branch August 14, 2025 08:46
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