Skip to content

Conversation

@duerrfk
Copy link

@duerrfk duerrfk commented May 15, 2024

Updating a configuration from an XML file as follows using yangcli caused a segmentation fault for some (not all) XML files:

$ merge /interfaces/interface[name='sw0p2']/gate-parameters [email protected]

gdb showed an access to a NULL pointer: obj is NULL in function obj_is_choice_or_case( obj_template_t* obj )

Fixed by testing for obj being NULL before accessing it.

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.

1 participant