From: Kees Cook Date: Thu, 6 Jun 2013 20:52:21 +0000 (-0700) Subject: charger-manager: Ensure event is not used as format string X-Git-Tag: v3.11-rc1~52^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3594f4c0d7bc51e3a7e6d73c44e368ae079e42f3;p=pandora-kernel.git charger-manager: Ensure event is not used as format string 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: stable@vger.kernel.org Cc: Anton Vorontsov Cc: David Woodhouse Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed