[PATCH app/sessreg] Replace strncpy calls with a sane version that always terminates

2018-09-11 Thread Peter Hutterer
Fixes coverity complaints about potentially unterminated strings Signed-off-by: Peter Hutterer --- sessreg.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/sessreg.c b/sessreg.c index 0a8fdb2..53b30b0 100644 --- a/sessreg.c +++ b/sessreg.c @@ -192

Re: [PATCH app/sessreg] Replace strncpy calls with a sane version that always terminates

2018-09-12 Thread Walter Harms
> Peter Hutterer hat am 12. September 2018 um 06:50 > geschrieben: > > > Fixes coverity complaints about potentially unterminated strings > > Signed-off-by: Peter Hutterer > --- > sessreg.c | 26 +- > 1 file changed, 17 insertions(+), 9 deletions(-) > > diff --git a

Re: [PATCH app/sessreg] Replace strncpy calls with a sane version that always terminates

2018-09-12 Thread Peter Hutterer
On Wed, Sep 12, 2018 at 09:09:22AM +0200, Walter Harms wrote: > > > > Peter Hutterer hat am 12. September 2018 um 06:50 > > geschrieben: > > > > > > Fixes coverity complaints about potentially unterminated strings > > > > Signed-off-by: Peter Hutterer > > --- > > sessreg.c | 26

Re: [PATCH app/sessreg] Replace strncpy calls with a sane version that always terminates

2018-09-12 Thread Alan Coopersmith
On 09/12/18 12:09 AM, Walter Harms wrote: Peter Hutterer hat am 12. September 2018 um 06:50 geschrieben: Fixes coverity complaints about potentially unterminated strings Signed-off-by: Peter Hutterer --- sessreg.c | 26 +- 1 file changed, 17 insertions(+), 9 del