]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgap: fix overflows and format strings
authorKees Cook <keescook@chromium.org>
Wed, 11 Sep 2013 04:40:43 +0000 (21:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:39:27 +0000 (07:39 -0700)
commit56c5c0f2290d99b190053e68d3f81ad725b2fa51
tree31a5bc93de8c3a49442fa5db0652e6af7c2e54fc
parent3174760b18811626fa9e510d13d19ffc87324488
staging: dgap: fix overflows and format strings

The boot message buffer could potentially overflow the stack and the
heap. Additionally make sure format strings could not leak into printk()
calls.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_driver.c