[U-Boot] [PATCH] cpu/ppc4xx/fdt.c: avoid strcpy() to constant string

Stefan Roese sr at denx.de
Fri Oct 23 15:51:29 CEST 2009


On Tuesday 20 October 2009 23:12:13 y at denx.de wrote:
> 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.

Applied to u-boot-ppc4xx/master. Thanks.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list