dtc/libfdt
Jon Loeliger b236893fc4 Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3.
Using Gcc 4.3 detected this problem:

    ../dtc/libfdt/fdt.c: In function 'fdt_next_tag':
    ../dtc/libfdt/fdt.c:82: error: assuming signed overflow does not
    occur when assuming that (X + c) < X is always false

To fix the problem, treat the offset as an unsigned int.

The problem report and proposed fix were provided
by Steve Papacharalambous <stevep@freescale.com>.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2008-09-25 15:45:48 -05: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 bugs in fdt_get_path() 2008-09-25 09:34:27 -05: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 Fix an overflow case in fdt_offset_ptr() detected by GCC 4.3. 2008-09-25 15:45:48 -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
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