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

CLICON_CONFIGDIR with external subsystems causes endless looping #439

Closed
pprindeville opened this issue Aug 14, 2023 · 2 comments
Closed

Comments

@pprindeville
Copy link
Contributor

pprindeville commented Aug 14, 2023

In the XML parsing in parse_configfile_one() we have the following loop.

The problem with the loop is that you can't "ignore" the nodes by just doing a continue. They need to be deleted from xe so that the next call to examine the head of the vector:

while ((xec = xml_child_i_type(xe, 0, CX_ELMNT)) != NULL) {

doesn't find them still there. We need to do a xml_child_rm() to remove them from xe before continuing the loop.

@pprindeville
Copy link
Contributor Author

Fixed in PR #440.

@pprindeville
Copy link
Contributor Author

Fixed w/ the merge of PR #440.

olofhagsand added a commit that referenced this issue Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants