Re: [PATCH] scripts: recordmcount: fix incorrect use of sprintf

2016-01-06 Thread Kees Cook
On Wed, Jan 6, 2016 at 3:28 AM, Fengguang Wu wrote: > Hi Steven, > > On Mon, Jan 04, 2016 at 10:42:46AM -0500, Steven Rostedt wrote: >> On Wed, 30 Dec 2015 23:06:41 + >> Colin King wrote: >> >> > From: Colin Ian King >> > >> > Fix build warning: >> > >> > scripts/recordmcount.c:589:4:

Re: [PATCH] scripts: recordmcount: fix incorrect use of sprintf

2016-01-06 Thread Fengguang Wu
Hi Steven, On Mon, Jan 04, 2016 at 10:42:46AM -0500, Steven Rostedt wrote: > On Wed, 30 Dec 2015 23:06:41 + > Colin King wrote: > > > From: Colin Ian King > > > > Fix build warning: > > > > scripts/recordmcount.c:589:4: warning: format not a string > > literal and no format arguments

Re: [PATCH] scripts: recordmcount: fix incorrect use of sprintf

2016-01-06 Thread Fengguang Wu
Hi Steven, On Mon, Jan 04, 2016 at 10:42:46AM -0500, Steven Rostedt wrote: > On Wed, 30 Dec 2015 23:06:41 + > Colin King wrote: > > > From: Colin Ian King > > > > Fix build warning: > > > > scripts/recordmcount.c:589:4: warning: format

Re: [PATCH] scripts: recordmcount: fix incorrect use of sprintf

2016-01-06 Thread Kees Cook
On Wed, Jan 6, 2016 at 3:28 AM, Fengguang Wu wrote: > Hi Steven, > > On Mon, Jan 04, 2016 at 10:42:46AM -0500, Steven Rostedt wrote: >> On Wed, 30 Dec 2015 23:06:41 + >> Colin King wrote: >> >> > From: Colin Ian King

Re: [PATCH] scripts: recordmcount: fix incorrect use of sprintf

2016-01-04 Thread Steven Rostedt
On Wed, 30 Dec 2015 23:06:41 + Colin King wrote: > From: Colin Ian King > > Fix build warning: > > scripts/recordmcount.c:589:4: warning: format not a string > literal and no format arguments [-Wformat-security] > sprintf("%s: failed\n", file); > > Fixes: a50bd43935586

Re: [PATCH] scripts: recordmcount: fix incorrect use of sprintf

2016-01-04 Thread Steven Rostedt
On Wed, 30 Dec 2015 23:06:41 + Colin King wrote: > From: Colin Ian King > > Fix build warning: > > scripts/recordmcount.c:589:4: warning: format not a string > literal and no format arguments [-Wformat-security] > sprintf("%s:

[PATCH] scripts: recordmcount: fix incorrect use of sprintf

2015-12-30 Thread Colin King
From: Colin Ian King Fix build warning: scripts/recordmcount.c:589:4: warning: format not a string literal and no format arguments [-Wformat-security] sprintf("%s: failed\n", file); Fixes: a50bd43935586 ("ftrace/scripts: Have recordmcount copy the object file") Signed-off-by: Colin Ian

[PATCH] scripts: recordmcount: fix incorrect use of sprintf

2015-12-30 Thread Colin King
From: Colin Ian King Fix build warning: scripts/recordmcount.c:589:4: warning: format not a string literal and no format arguments [-Wformat-security] sprintf("%s: failed\n", file); Fixes: a50bd43935586 ("ftrace/scripts: Have recordmcount copy the object file")