[U-Boot] [PATCH] imx: mx6/7 define CONFIG_SYS_VSNPRINTF

Tom Rini trini at konsulko.com
Wed Jan 13 20:57:00 CET 2016


On Tue, Jan 12, 2016 at 05:45:24PM +0800, Peng Fan wrote:

> From: Peng Fan <peng.fan at nxp.com>
> 
> Define CONFIG_SYS_VSNPRINTF to use snprintf. If not define
> CONFIG_SYS_VSNPRINTF, snprintf is sprintf.
> 
> Report by Coverity:
> pass string init_val of unknown size to sprintf
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Peter Robinson <pbrobinson at gmail.com>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>
> Cc: Adrian Alonso <aalonso at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>

I'm not sure how I feel about fixing this range of issues only for
certain targets.  I need to do some global building here and see what
happens.

-- 
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/20160113/86d0e204/attachment.sig>


More information about the U-Boot mailing list