Re: [PATCH] of: avoid format string parsing in kobject names

2014-06-13 Thread Kees Cook
On Fri, Jun 13, 2014 at 7:55 AM, Rob Herring wrote: > On Tue, Jun 10, 2014 at 11:57 AM, Kees Cook wrote: >> This makes sure a format string cannot leak into the kobject name that >> is constructed. (And splits the >80 character line.) >> >> Signed-off-by: Kees Cook > > Applied. > > This seems li

Re: [PATCH] of: avoid format string parsing in kobject names

2014-06-13 Thread Rob Herring
On Tue, Jun 10, 2014 at 11:57 AM, Kees Cook wrote: > This makes sure a format string cannot leak into the kobject name that > is constructed. (And splits the >80 character line.) > > Signed-off-by: Kees Cook Applied. This seems like a non-obvious thing to do, but I guess most people aren't deal

[PATCH] of: avoid format string parsing in kobject names

2014-06-10 Thread Kees Cook
This makes sure a format string cannot leak into the kobject name that is constructed. (And splits the >80 character line.) Signed-off-by: Kees Cook --- drivers/of/base.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 8368d96a