Skip to content

Exception happening while parsing deviation file #394

@ghost

Description

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf2e37b70 (LWP 86474)]
0xf7604185 in __strlen_sse2 () from /lib/libc.so.6
(gdb) bt
#0 0xf7604185 in strlen_sse2 () from /lib/libc.so.6
#1 0xf2e95da2 in lydict_remove (ctx=0x81e50f0, value=0x656e2d66 <Address 0x656e2d66 out of bounds>) at dict.c:123
#2 0xf2f1b773 in lys_restr_free (ctx=0x81e50f0, restr=0x81e9240, private_destructor=0x0) at tree_schema.c:1321
#3 0xf2f1ba34 in lys_type_free (ctx=0x81e50f0, type=0x820b628, private_destructor=0x0) at tree_schema.c:1982
#4 0xf2f1a9e5 in lys_leaf_free (private_destructor=, leaf=, ctx=) at tree_schema.c:2183
#5 lys_node_free (node=0x820b5e8, private_destructor=0x0, shallow=1) at tree_schema.c:2434
#6 0xf2f1c6de in lys_deviation_free (private_destructor=, dev=, module=) at tree_schema.c:2321
#7 module_free_common (module=0x81fd510, private_destructor=0x0) at tree_schema.c:2668
#8 0xf2f1cdf2 in lys_free (module=0x81fd510, private_destructor=0x0, remove_from_ctx=1) at tree_schema.c:3430
#9 0xf2eda7d2 in yin_read_module
(ctx=0x81e50f0, yin=0x8204548, revision=0x0, implement=1) at parser_yin.c:7089
#10 0xf2edd1b7 in yin_read_module (ctx=0x81e50f0,
data=0xf1ea4000 "\r\n\r\n<module xmlns="urn:ietf:params:xml:ns:yang:yin:1" name="ietf-netconf-acm-deviations-cx" xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-netconf-acm-deviations-cx"..., revision=0x0, implement=1) at parser_yin.c:7106
#11 0xf2f21309 in lys_parse_mem
(ctx=0x81e50f0,
data=0xf1ea4000 "\r\n\r\n<module xmlns="urn:ietf:params:xml:ns:yang:yin:1" name="ietf-netconf-acm-deviations-cx" xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-netconf-acm-deviations-cx"..., format=LYS_IN_YIN, internal=1, implement=1) at tree_schema.c:961

Is it a valid issue..please check..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions