Re: [Spice-devel] [spice-common 3/8] coverity: avoid out of bounds access

2016-04-25 Thread Fabiano Fidêncio
On Mon, Apr 4, 2016 at 10:29 AM, Christophe Fergeau wrote: > On Mon, Apr 04, 2016 at 10:03:34AM +0200, Fabiano Fidêncio wrote: >> We are allocating insufficient memory for the terminating null of the >> string. >> --- >> common/ssl_verify.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletion

Re: [Spice-devel] [spice-common 3/8] coverity: avoid out of bounds access

2016-04-04 Thread Christophe Fergeau
On Mon, Apr 04, 2016 at 10:03:34AM +0200, Fabiano Fidêncio wrote: > We are allocating insufficient memory for the terminating null of the > string. > --- > common/ssl_verify.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/common/ssl_verify.c b/common/ssl_verify.c >

[Spice-devel] [spice-common 3/8] coverity: avoid out of bounds access

2016-04-04 Thread Fabiano Fidêncio
We are allocating insufficient memory for the terminating null of the string. --- common/ssl_verify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/ssl_verify.c b/common/ssl_verify.c index 601252e..4292ddf 100644 --- a/common/ssl_verify.c +++ b/common/ssl_verify.c