commit | e0b561ee78d82a4cc7792aa28fa4b1ea15325dcc | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Sun Feb 15 10:03:20 2015 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Feb 16 16:26:56 2015 +0100 |
tree | e11dc662c90bc42ee17d358f0f79eb914dfbb119 | |
parent | 1d9c5d79e6e4385aea6f69c23ba543717434ed70 [diff] |
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 <fengguang.wu@intel.com> Reported-by: Kees Cook <keescook@chromium.org> Acked-by: Seth Jennings <sjenning@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>