[PATCH] staging: lustre: lustre: ptlrpc: nrs.c: Cleaning up missing null-terminate after strncpy call

Dan Carpenter dan.carpenter at oracle.com
Mon Aug 11 10:58:37 UTC 2014


On Sun, Aug 10, 2014 at 01:49:12AM +0200, Rickard Strandqvist wrote:
> Added a guaranteed null-terminate after call to strncpy.

No.  This is a problem in the static checker and not in the code.

Look at the start of the function.  This stuff should be obvious for the
static checker.

regards,
dan carpenter



More information about the devel mailing list