From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 23 Oct 2009 15:51:29 +0200 Subject: [U-Boot] [PATCH] cpu/ppc4xx/fdt.c: avoid strcpy() to constant string In-Reply-To: <1256073133-24246-1-git-send-email-y> References: <1256073133-24246-1-git-send-email-y> Message-ID: <200910231551.29329.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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