Re: [Spice-devel] [PATCH spice-gtk 1/2] Be more tolerant on NULL arrays

2012-03-29 Thread Hans de Goede
ACK series. Regards, Hans On 03/29/2012 09:32 PM, Marc-André Lureau wrote: 2 places where we should be more carreful with NULL arrays, and we can avoid potential crashes. --- gtk/spice-session.c |3 ++- gtk/usb-device-widget.c |3 +++ 2 files changed, 5 insertions(+), 1 deleti

[Spice-devel] [PATCH spice-gtk 1/2] Be more tolerant on NULL arrays

2012-03-29 Thread Marc-André Lureau
2 places where we should be more carreful with NULL arrays, and we can avoid potential crashes. --- gtk/spice-session.c |3 ++- gtk/usb-device-widget.c |3 +++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index e9c8b94..ea1a0f