diff options
author | Jiri Kosina <jkosina@suse.cz> | 2015-02-15 10:03:20 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-02-16 16:26:56 +0100 |
commit | e0b561ee78d82a4cc7792aa28fa4b1ea15325dcc (patch) | |
tree | e11dc662c90bc42ee17d358f0f79eb914dfbb119 /lib | |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions