Re: [PATCH] crypto: crypto_user.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-26 Thread Mark D Rustad
Rickard, On Jul 26, 2014, at 7:15 AM, Rickard Strandqvist wrote: > Replacing strncpy with strlcpy to avoid strings that lacks null terminate. > > Signed-off-by: Rickard Strandqvist > --- > crypto/crypto_user.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --g

[PATCH] crypto: crypto_user.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-26 Thread Rickard Strandqvist
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. Signed-off-by: Rickard Strandqvist --- crypto/crypto_user.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index e2a34fe..09b465e 100644 ---