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

NACM infinite loop: --defop replace as a 'guest' user, see recipe below. #139

Open
tomdenesyk opened this issue Oct 18, 2016 · 0 comments
Open

Comments

@tomdenesyk
Copy link

Recipe:

  1. Setup a 'guest' user
    `


    tomd

` 2) set up a guest rule list that only premits 'read' ` true permit permit permit guest tomd guest-rules guest read-access * read deny ` 3) login as the guest user tomd. 4) attempt to 'replace' on anything using 'edit-config --defop replace running' 5) Server goes into an infinite loop in edit_config.c: edit_operations() ... `if (defop == NC_EDIT_DEFOP_REPLACE) { /\* replace whole document */ for (edit_node = edit_doc->children; edit_node != NULL; edit_node = edit_doc->children) { edit_replace(orig_doc, edit_node, defop, model, keys, nacm, error); }

`

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

No branches or pull requests

1 participant