Thread (2 messages) 2 messages, 2 authors, 2018-08-09

Re: b43legacy/leds: Ensure NUL-termination of LED name string

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help