Skip to content

An incorrect path is returned for the Node #22

@remittor

Description

@remittor

Example of incorrect behavior:

dt = fdt.parse_dtb(image)
ddd = dt.get_node("/aaa/bbb/ccc/ddd")
print("ddd.path =", ddd.path)
#> ddd.path = /aaa/bbb/ccc
ddd = dt.get_node(ddd.path)
print("ddd.name =", ddd.name)
#> ddd.name = ccc
print("ddd.path =", ddd.path)
#> ddd.path = /aaa/bbb

Here's a way to fix this behavior: openwrt-xiaomi/xmir-patcher@b782ca1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions