dtc/libfdt
David Gibson f99cd158a9 libfdt: Fix bug in fdt_subnode_offset_namelen()
There's currently an off-by-one bug in fdt_subnode_offset_namelen()
which causes it to keep searching after it's finished the subnodes of
the given parent, and into the subnodes of siblings of the original
node which come after it in the tree.

This patch fixes the bug.  It also extends the subnode_offset testcase
(updating all of the 'test_tree1' example trees in the process) to
catch it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2008-11-05 08:12:10 -06:00
..
Makefile.libfdt libfdt: Fix 'make install' target handling of .h files. 2008-07-23 12:12:34 -05:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00
fdt.c Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3. 2008-09-25 15:45:48 -05:00
fdt.h Fix whitespace in libfdt/fdt.h 2007-11-28 09:44:27 -06:00
fdt_ro.c libfdt: Fix bug in fdt_subnode_offset_namelen() 2008-11-05 08:12:10 -06:00
fdt_rw.c libfdt: Increase namespace-pollution paranoia 2008-07-14 12:36:27 -05:00
fdt_strerror.c libfdt: Increase namespace-pollution paranoia 2008-07-14 12:36:27 -05:00
fdt_sw.c libfdt: Increase namespace-pollution paranoia 2008-07-14 12:36:27 -05:00
fdt_wip.c libfdt: Increase namespace-pollution paranoia 2008-07-14 12:36:27 -05:00
libfdt.h libfdt: Add function to explicitly expand aliases 2008-10-02 08:49:51 -05:00
libfdt_env.h dtc: Address an assortment of portability problems 2008-07-14 12:21:18 -05:00
libfdt_internal.h libfdt: Increase namespace-pollution paranoia 2008-07-14 12:36:27 -05:00