]> git.sur5r.net Git - u-boot/commit
cpu/ppc4xx/fdt.c: avoid strcpy() to constant string
authorWolfgang Denk <wd@denx.de>
Tue, 20 Oct 2009 21:07:04 +0000 (23:07 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 20 Oct 2009 21:07:04 +0000 (23:07 +0200)
commit0e1ac981194aa0d92eff0934442cec48a4f57834
treebb48f9d23c3c956a1b88e5b775e964e629864996
parentf67066b6b0740b826ed862615c5ab022aaf4779a
cpu/ppc4xx/fdt.c: avoid strcpy() to constant string

strcpy() was iused with the target address being a pointer to a
constant string, which potentially is read-only. Use a (writable)
array of characters instead.

Signed-off-by: Wolfgang Denk <wd@denx.de>
cpu/ppc4xx/fdt.c