Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
b43/leds: Ensure NUL-termination of LED name string
commit 2aa650d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information