Re: [PATCH] staging: lustre: clean up format string usages

2013-09-11 Thread Dilger, Andreas
On 2013/09/10 10:37 PM, "Kees Cook" wrote: >This fixes up the usage of snprintf, strncpy, and format strings in the >call to kthread_run to avoid ever accidentally allowing a format string >into the thread name. > >Signed-off-by: Kees Cook No objection, though I don't think there was any securit

[PATCH] staging: lustre: clean up format string usages

2013-09-10 Thread Kees Cook
This fixes up the usage of snprintf, strncpy, and format strings in the call to kthread_run to avoid ever accidentally allowing a format string into the thread name. Signed-off-by: Kees Cook --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c |2 +- .../staging/lustre/lnet/klnds/socklnd/s