In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash. Reference: https://github.com/CESNET/libyang/issues/1454
Created libyang tracking bugs for this issue: Affects: fedora-all [bug 1963978]
Upstream patch: https://github.com/CESNET/libyang/commit/a3917d95d516e3de267d3cfa5d4d3715a90e8777