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

2014-07-27 Thread Rickard Strandqvist
2014-07-27 4:35 GMT+02:00 Mark D Rustad : > Rickard, > > On Jul 26, 2014, at 7:18 AM, Rickard Strandqvist > wrote: > >> Replacing strncpy with strlcpy to avoid strings that lacks null terminate. >> >> Signed-off-by: Rickard Strandqvist >> --- >> crypto/rng.c |2 +- >> 1 file changed, 1 insert

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

2014-07-26 Thread Mark D Rustad
Rickard, On Jul 26, 2014, at 7:18 AM, Rickard Strandqvist wrote: > Replacing strncpy with strlcpy to avoid strings that lacks null terminate. > > Signed-off-by: Rickard Strandqvist > --- > crypto/rng.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/crypto/rng.c b/

[PATCH] crypto: rng.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/rng.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/rng.c b/crypto/rng.c index e0a25c2..c3d4fb3 100644 --- a/crypto/rng.c +++ b/crypto/rng.c @@