From: Tom Rini Date: Wed, 13 Jan 2016 14:57:00 -0500 Subject: [U-Boot] [PATCH] imx: mx6/7 define CONFIG_SYS_VSNPRINTF In-Reply-To: <1452591924-24012-1-git-send-email-van.freenix@gmail.com> References: <1452591924-24012-1-git-send-email-van.freenix@gmail.com> Message-ID: <20160113195700.GJ3359@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jan 12, 2016 at 05:45:24PM +0800, Peng Fan wrote: > From: Peng Fan > > 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 > Cc: Peter Robinson > Cc: Fabio Estevam > Cc: Adrian Alonso > Cc: Stefano Babic 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: