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

model_cmp loops forever if model contains list elements #475

Closed
scareything opened this issue Nov 10, 2022 · 0 comments · Fixed by #476 or openziti/ziti-tunnel-sdk-c#550
Closed

model_cmp loops forever if model contains list elements #475

scareything opened this issue Nov 10, 2022 · 0 comments · Fixed by #476 or openziti/ziti-tunnel-sdk-c#550

Comments

@scareything
Copy link
Member

scareything commented Nov 10, 2022

the loop does not increment the list iterators

            model_list_iter lit = model_list_iterator(ll);
            model_list_iter rit = model_list_iterator(rl);
// ...
                for (int idx = 0; rc == 0; idx++) {
                    lf_ptr = model_list_it_element(lit);
                    rf_ptr = model_list_it_element(rit);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant