Re: [PATCH] pcrypt: use format specifier in kobject_add

2018-11-09 Thread Herbert Xu
On Sat, Oct 27, 2018 at 03:49:26PM +0100, Colin King wrote: > From: Colin Ian King > > Passing string 'name' as the format specifier is potentially hazardous > because name could (although very unlikely to) have a format specifier > embedded in it causing issues when parsing the non-existent argu

[PATCH] pcrypt: use format specifier in kobject_add

2018-10-27 Thread Colin King
From: Colin Ian King Passing string 'name' as the format specifier is potentially hazardous because name could (although very unlikely to) have a format specifier embedded in it causing issues when parsing the non-existent arguments to these. Follow best practice by using the "%s" format string