dtc/libfdt
David Gibson e2b3bb3227 libfdt: Fix use of uninitialized variable in fdt_get_path()
My recent implemenetation of fdt_get_path() had a bug - the while loop
tested offset which was unitialized on the first iteration.  Depending
on code surrounding the call, this could cause fdt_get_path() to
return incorrect results.

This patch corrects the problem by applying some more correct thinking
to the loop condition.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-08-31 08:34:09 -05:00
..
fdt.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_ro.c libfdt: Fix use of uninitialized variable in fdt_get_path() 2007-08-31 08:34:09 -05:00
fdt_rw.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_strerror.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_sw.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_wip.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
libfdt.h libfdt: Add fdt_parent_offset() and supporting functions 2007-08-30 08:43:12 -05:00
libfdt_env.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
libfdt_internal.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
Makefile.libfdt dtc: Improve the make install target 2007-07-25 10:26:36 -05:00
TODO Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00