[U-Boot] [U-Boot, v2] Fix GCC format-security errors and convert sprintfs.

Tom Rini trini at konsulko.com
Fri Jan 15 14:10:22 CET 2016


On Wed, Dec 30, 2015 at 01:05:58PM +0000, Ben Whitten wrote:

> From: Ben Whitten <ben.whitten at gmail.com>
> 
> With format-security errors turned on, GCC picks up the use of sprintf with
> a format parameter not being a string literal.
> 
> Simple uses of sprintf are also converted to use strcpy.
> 
> Signed-off-by: Ben Whitten <ben.whitten at gmail.com>
> Acked-by: Wolfgang Denk <wd at denx.de>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160115/acd77ab3/attachment.sig>


More information about the U-Boot mailing list