]> 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)
commit7c01d7037d92c463cada2ff94b68dc625798c200
treec6346191a1c86abfe2d454e9ecc0beaebb020ad4
parentcdee73000ff9a22ee0e8b3968564ba8d6a61b01e
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