]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
LIBFDT: use memmove() instead of memcpy()
authorGerald Van Baren <vanbaren@cideas.com>
Tue, 8 Jan 2008 04:47:32 +0000 (23:47 -0500)
committerGerald Van Baren <vanbaren@cideas.com>
Tue, 8 Jan 2008 20:03:47 +0000 (15:03 -0500)
commitad3006fe7e84667021753b74247b0bafd97ba35f
tree55da2b41d8c09dff562a9a6e2908d8fc921d5436
parentaec7135bc300e3340d18f203347ee00c5b5f68c0
LIBFDT: use memmove() instead of memcpy()

This is partial patch from the DTC/libfdt
commit  67b6b33b9b413a450a72135b5dc59c0a1e33e647
Author: David Gibson <david@gibson.dropbear.id.au>
Date:   Wed Nov 21 11:56:14 2007 +1100

    The patch also fixes one genuine bug caught by valgrind -
    _packblocks() in fdt_rw.c was using memcpy() where it should have been
    using memmove().

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
libfdt/fdt_rw.c