]> git.baikalelectronics.ru Git - kernel.git/commit
of: avoid format string parsing in kobject names
authorKees Cook <keescook@chromium.org>
Tue, 10 Jun 2014 16:57:00 +0000 (09:57 -0700)
committerRob Herring <robh@kernel.org>
Mon, 16 Jun 2014 18:31:44 +0000 (13:31 -0500)
commit247b2653296e0750f24441966c13ddc773a163f2
treec6346191a1c86abfe2d454e9ecc0beaebb020ad4
parente2f12e7e0ccbe3f4b4855cbe4448765a26dd302b
of: avoid format string parsing in kobject names

This makes sure a format string cannot leak into the kobject name that
is constructed. (And splits the >80 character line.)

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c