libyang2 segfault while parsing schema #1403
Labels
is:bug
Bug description.
status:completed
From the developer perspective, the issue was solved (bug fixed, question answered,...)
Hi!
I made a dummy YANG module, which augments ietf-interfaces. Libyang segfaults, when I
try to parse it using lys_parse().
The error appeared after I inserted some dummy description to each leaf, if I remove them,
the libyang successfully proceeds.
Here is the backtrace from the core dump:
I attached the YANG files and the parser code.
libyang2 version: 2d5f6df
if_error.tar.gz
Thanks!
The text was updated successfully, but these errors were encountered: