summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMichael Büsch <m@bues.ch>2018-07-31 21:14:04 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-08-09 18:22:33 +0300
commit2aa650d1950fce94f696ebd7db30b8830c2c946f (patch)
tree176d29fee91ef2617a6c01d93da9854c1f3fad3b /usr
parentc7743c428111912fffceb38b860024f7e33b3e3c (diff)
b43/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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions