Closed milanlenco closed 8 years ago
This is for the latest devel version of libyang (0.10.130).
Hi Milan,
this is almost positively the result of a forgotten lyd_validate()
parameter, it was expected in more cases in 0.10.130. Nevertheless, in the current version it was changed from a variable to argument to a standard one, so no one should forget it now (you can still set it to NULL).
Regards, Michal
Hi Michal,
yes, the missing argument was the issue. I put there NULL for now, it is sufficient for out current unit test set to pass. But this YANG 1.1 extension makes the cross-module dependencies task even more complicated and nobody is really keen to start working on it now :)
Thanks, Milan
YANG schema:
data tree:
lyd_validate causes an invalid memory access: