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

xpath processing BUGFIX pointer null judgment #2182

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

zhangtaog
Copy link
Contributor

the schema node lysc_node_leaf obtained from the lyd_node_term node may be empty. When accessing nodetype, check whether the schema node is empty to avoid null pointer dereference.

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.

Please change the base branch to devel, we do not accept PRs to master directly.

src/xpath.c Outdated Show resolved Hide resolved
@zhangtaog zhangtaog changed the base branch from master to devel February 21, 2024 07:57
@michalvasko michalvasko merged commit b3d079f into CESNET:devel Feb 21, 2024
12 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