]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cpu/ppc4xx/fdt.c: avoid strcpy() to constant string
authorWolfgang Denk <wd@denx.de>
Tue, 20 Oct 2009 21:12:13 +0000 (23:12 +0200)
committerStefan Roese <sr@denx.de>
Fri, 23 Oct 2009 13:50:22 +0000 (15:50 +0200)
commit76706cb86b1c76954ff5353db6757ab99cfd95fb
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>
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/fdt.c