Re: [patch -next] tcm_vhost: another strlen() off by one

2012-07-14 Thread Nicholas A. Bellinger
On Fri, 2012-07-13 at 13:45 +0300, Dan Carpenter wrote: > strlen() doesn't count the NUL terminator. I missed this one in the > patches I sent yesterday. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/vhost/tcm_vhost.c b/drivers/vhost/tcm_vhost.c > index 29850cb..ea72198 100644 > ---

[patch -next] tcm_vhost: another strlen() off by one

2012-07-13 Thread Dan Carpenter
strlen() doesn't count the NUL terminator. I missed this one in the patches I sent yesterday. Signed-off-by: Dan Carpenter diff --git a/drivers/vhost/tcm_vhost.c b/drivers/vhost/tcm_vhost.c index 29850cb..ea72198 100644 --- a/drivers/vhost/tcm_vhost.c +++ b/drivers/vhost/tcm_vhost.c @@ -1424,7