commit | 4d77a89e3924b12f4a5628b21237e57ab4703866 | [log] [tgz] |
---|---|---|
author | Michael Büsch <m@bues.ch> | Tue Jul 31 21:14:16 2018 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu Aug 09 18:44:54 2018 +0300 |
tree | 310614505fcaa81ddc5f01e35c6810f177d14db2 | |
parent | 2aa650d1950fce94f696ebd7db30b8830c2c946f [diff] |
b43legacy/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>