staging: lustre: lustre: libcfs: workitem.c: Cleaning up missing null-terminate after...
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 9 Aug 2014 23:46:49 +0000 (01:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Aug 2014 14:15:10 +0000 (07:15 -0700)
commit299ef8cd6556d9cd968f672ad30c6df4cfcfc729
tree506600c1da2287fa79719c3345d9608ccfc84dc7
parentec0a38bf8b28b036202070cf3ef271e343d9eafc
staging: lustre: lustre: libcfs: workitem.c: Cleaning up missing null-terminate after strncpy call

Added a guaranteed null-terminate after call to strncpy.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/workitem.c