Re: [Spice-devel] [PATCH spice-gtk 6/6] channel: don't call memcpy with NULL dest

2017-08-11 Thread Frediano Ziglio
> > From: Marc-André Lureau > > If ncaps == 0, the array will be NULL after set_size(). > > Signed-off-by: Marc-André Lureau > --- > src/spice-channel.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/spice-channel.c b/src/spice-channel.c > index 642e829..b6141cd 100644 > ---

[Spice-devel] [PATCH spice-gtk 6/6] channel: don't call memcpy with NULL dest

2017-08-10 Thread marcandre . lureau
From: Marc-André Lureau If ncaps == 0, the array will be NULL after set_size(). Signed-off-by: Marc-André Lureau --- src/spice-channel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/spice-channel.c b/src/spice-channel.c index 642e829..b6141cd 100644 --- a/src/spice-channel.c +++