From: Jiri Kosina Date: Sun, 15 Feb 2015 09:03:20 +0000 (+0100) Subject: livepatch: fix format string in kobject_init_and_add() X-Git-Tag: fixes-v4.0-rc2~36^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0b561ee78d82a4cc7792aa28fa4b1ea15325dcc;p=pandora-kernel.git livepatch: fix format string in kobject_init_and_add() kobject_init_and_add() takes expects format string for a name, so we better provide it in order to avoid infoleaks if modules craft their mod->name in a special way. Reported-by: Fengguang Wu Reported-by: Kees Cook Acked-by: Seth Jennings Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed