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

Tom Rini
2016-01-13T19:57:00Z

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

> From: Peng Fan <peng.fan@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@nxp.com>
> Cc: Peter Robinson <pbrobinson@gmail.com>
> Cc: Fabio Estevam <fabio.estevam@freescale.com>
> Cc: Adrian Alonso <aalonso@freescale.com>
> Cc: Stefano Babic <sbabic@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>