Re: [Spice-devel] [spice-gtk 2/4] coverity: avoid string overflow

2016-04-25 Thread Fabiano Fidêncio
On Mon, Apr 25, 2016 at 10:59 AM, Frediano Ziglio wrote: >> >> On Mon, Apr 4, 2016 at 9:59 AM, Fabiano Fidêncio wrote: >> > sockaddr_un.sun_path has 108 bytes, while pipe_name has >> > PIPE_NAME_MAX_LEN (256 bytes) >> > --- >> > src/controller/test.c | 6 ++ >> > 1 file changed, 6 insertions

Re: [Spice-devel] [spice-gtk 2/4] coverity: avoid string overflow

2016-04-25 Thread Frediano Ziglio
> > On Mon, Apr 4, 2016 at 9:59 AM, Fabiano Fidêncio wrote: > > sockaddr_un.sun_path has 108 bytes, while pipe_name has > > PIPE_NAME_MAX_LEN (256 bytes) > > --- > > src/controller/test.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/src/controller/test.c b/src/controller/

Re: [Spice-devel] [spice-gtk 2/4] coverity: avoid string overflow

2016-04-24 Thread Fabiano Fidêncio
On Mon, Apr 4, 2016 at 9:59 AM, Fabiano Fidêncio wrote: > sockaddr_un.sun_path has 108 bytes, while pipe_name has > PIPE_NAME_MAX_LEN (256 bytes) > --- > src/controller/test.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/src/controller/test.c b/src/controller/test.c > index 9a45

[Spice-devel] [spice-gtk 2/4] coverity: avoid string overflow

2016-04-04 Thread Fabiano Fidêncio
sockaddr_un.sun_path has 108 bytes, while pipe_name has PIPE_NAME_MAX_LEN (256 bytes) --- src/controller/test.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/controller/test.c b/src/controller/test.c index 9a45581..649aca5 100644 --- a/src/controller/test.c +++ b/src/controller/tes