aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorMichael Büsch <[email protected]>2018-07-31 21:14:04 +0200
committerKalle Valo <[email protected]>2018-08-09 18:22:33 +0300
commit2aa650d1950fce94f696ebd7db30b8830c2c946f (patch)
tree176d29fee91ef2617a6c01d93da9854c1f3fad3b /tools/lib/bpf/libbpf.c
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 <[email protected]> Cc: [email protected] Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions