freeconf / yang

Standards-based management for Golang microservices
Apache License 2.0
38 stars 14 forks source link

fix: panic when reading leaf inside empty list item #107

Closed Kirhchoff closed 8 months ago

Kirhchoff commented 8 months ago

Freeconf goroutine panics with 'runtime error: invalid memory address or nil pointer dereference' when a user tries to read a leaf or container from within a non-existing list item.

dhubler commented 8 months ago

sans the test comment, fix makes sense.