commit | 2aa650d1950fce94f696ebd7db30b8830c2c946f | [log] [tgz] |
---|---|---|
author | Michael Büsch <m@bues.ch> | Tue Jul 31 21:14:04 2018 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu Aug 09 18:22:33 2018 +0300 |
tree | 176d29fee91ef2617a6c01d93da9854c1f3fad3b | |
parent | c7743c428111912fffceb38b860024f7e33b3e3c [diff] |
b43/leds: Ensure NUL-termination of LED name string strncpy might not NUL-terminate the string, if the name equals the buffer size. Use strlcpy instead. Signed-off-by: Michael Buesch <m@bues.ch> Cc: stable@vger.kernel.org Signed-off-by: Kalle Valo <kvalo@codeaurora.org>