Michael Büsch <m@xxxxxxx> writes: > strncpy might not NUL-terminate the string, if the name equals the buffer size. > Use strlcpy instead. > > Signed-off-by: Michael Buesch <m@xxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx Applied manually: 4d77a89e3924 b43legacy/leds: Ensure NUL-termination of LED name string -- Kalle Valo