diff options
author | Kees Cook <keescook@chromium.org> | 2013-06-06 20:52:19 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-07 23:05:50 (GMT) |
commit | b7165ebbf0898bad9aaeddfa22b918e94ed90e07 (patch) | |
tree | 1256297e5ed27757724770a5f6f5a40589be031f /net/batman-adv/hard-interface.h | |
parent | fc60bb8339b66183f40ea9a001538c958f6d2c9e (diff) | |
download | linux-fsl-qoriq-b7165ebbf0898bad9aaeddfa22b918e94ed90e07.tar.xz |
kobject: sanitize argument for format string
Unlike kobject_set_name(), the kset_create_and_add() interface does not
provide a way to use format strings, so make sure that the interface
cannot be abused accidentally. It looks like all current callers use
static strings, so there's no existing flaw.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/batman-adv/hard-interface.h')
0 files changed, 0 insertions, 0 deletions