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

Fixing segfault due to usage of invalid node within deref function #2122

Merged
merged 4 commits into from
Oct 31, 2023

Conversation

steweg
Copy link
Contributor

@steweg steweg commented Oct 29, 2023

This patch fixes segfault, which was caused by not validating all steps done within compiling of deref functions

It also adds specific tests for those cases.

Copy link
Member

@michalvasko michalvasko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks but please change the target branch to devel, we do not accept PRs into master. Also, fix the formatting problems with uncrustify.

src/path.c Outdated Show resolved Hide resolved
src/path.c Show resolved Hide resolved
@steweg steweg changed the base branch from master to devel October 31, 2023 11:39
@steweg steweg force-pushed the fix/xpath-segfault branch from 52cb740 to 3a78675 Compare October 31, 2023 11:41
@michalvasko
Copy link
Member

Okay, thanks.

@michalvasko michalvasko merged commit 1ac8b41 into CESNET:devel Oct 31, 2023
12 checks passed
@steweg steweg deleted the fix/xpath-segfault branch February 20, 2024 12:55
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