Re: [PATCH 4/8] power: ensure event is not used as format string

2013-06-06 Thread Anton Vorontsov
On Thu, Jun 06, 2013 at 01:52:21PM -0700, Kees Cook wrote: > The exposed interface for cm_notify_event() could result in the event > msg string being parsed as a format string. Make sure it is only used > as a literal string. > > Signed-off-by: Kees Cook > Cc: sta...@vger.kernel.org > Cc: Anton V

[PATCH 4/8] power: ensure event is not used as format string

2013-06-06 Thread Kees Cook
The exposed interface for cm_notify_event() could result in the event msg string being parsed as a format string. Make sure it is only used as a literal string. Signed-off-by: Kees Cook Cc: sta...@vger.kernel.org Cc: Anton Vorontsov Cc: David Woodhouse --- drivers/power/charger-manager.c |