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

Tom Rini trini at konsulko.com
Thu Jan 14 21:08:36 CET 2016


On Wed, Dec 30, 2015 at 01:05:58PM +0000, ben.whitten at gmail.com 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>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
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/20160114/a8e2fec7/attachment.sig>


More information about the U-Boot mailing list