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 crash with queries to proxy-node schemas #122

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

gcampbell512
Copy link
Contributor

Querying the fields of a model with a proxy node, with the option of report-all causes a crash in apteryx-xml/schema.c in the function _sch_traverse_nodes. This is due to schema being set to NULL while handling the proxy node. This change exits the routine early if schema is set to NULL.

Querying the fields of a model with a proxy node, with the option of
report-all causes a crash in apteryx-xml/schema.c in the function
_sch_traverse_nodes. This is due to schema being set to NULL while
handling the proxy node. This change exits the routine early if schema
is set to NULL.
@carlgsmith carlgsmith merged commit 6cf2223 into alliedtelesis:master Aug 27, 2024
1 check 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