Re: b43legacy/leds: Ensure NUL-termination of LED name string
From: Kalle Valo <hidden>
Date: 2018-08-09 18:10:56
From: Kalle Valo <hidden>
Date: 2018-08-09 18:10:56
Michael B=C3=BCsch [off-list ref] writes:
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
Applied manually: 4d77a89e3924 b43legacy/leds: Ensure NUL-termination of LED name string --=20 Kalle Valo