In function read_yin_leaf() 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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 11 | all | libyang | <= 1.0.225-1.1 | libyang_1.0.225-1.1_all.deb |
Debian | 10 | all | libyang | <= 0.16.105-1+deb10u1 | libyang_0.16.105-1+deb10u1_all.deb |