Re: [Spice-devel] [spice-gtk v1 2/2] channel-usbredir: Fix crash on channel-up

2018-04-10 Thread Victor Toso
On Tue, Apr 10, 2018 at 05:19:05PM +0200, Christophe Fergeau wrote: > On Tue, Apr 10, 2018 at 02:17:45PM +0200, Victor Toso wrote: > > Hi, > > > > On Tue, Apr 10, 2018 at 01:37:05PM +0200, Victor Toso wrote: > > > Hi, > > > > > > On Tue, Apr 10, 2018 at 12:41:16PM +0200, Christophe Fergeau wrote:

Re: [Spice-devel] [spice-gtk v1 2/2] channel-usbredir: Fix crash on channel-up

2018-04-10 Thread Christophe Fergeau
On Tue, Apr 10, 2018 at 02:17:45PM +0200, Victor Toso wrote: > Hi, > > On Tue, Apr 10, 2018 at 01:37:05PM +0200, Victor Toso wrote: > > Hi, > > > > On Tue, Apr 10, 2018 at 12:41:16PM +0200, Christophe Fergeau wrote: > > > On Fri, Apr 06, 2018 at 09:59:44AM +0200, Victor Toso wrote: > > > > From:

Re: [Spice-devel] [spice-gtk v1 2/2] channel-usbredir: Fix crash on channel-up

2018-04-10 Thread Victor Toso
Hi, On Tue, Apr 10, 2018 at 01:37:05PM +0200, Victor Toso wrote: > Hi, > > On Tue, Apr 10, 2018 at 12:41:16PM +0200, Christophe Fergeau wrote: > > On Fri, Apr 06, 2018 at 09:59:44AM +0200, Victor Toso wrote: > > > From: Victor Toso > > > > > > By adding a guard to not handle channel-up on Spice

Re: [Spice-devel] [spice-gtk v1 2/2] channel-usbredir: Fix crash on channel-up

2018-04-10 Thread Victor Toso
Hi, On Tue, Apr 10, 2018 at 12:41:16PM +0200, Christophe Fergeau wrote: > On Fri, Apr 06, 2018 at 09:59:44AM +0200, Victor Toso wrote: > > From: Victor Toso > > > > By adding a guard to not handle channel-up on SpiceUsbredirChannel in > > case struct usbredirhost wasn't initialized yet. Same gua

Re: [Spice-devel] [spice-gtk v1 2/2] channel-usbredir: Fix crash on channel-up

2018-04-10 Thread Christophe Fergeau
On Fri, Apr 06, 2018 at 09:59:44AM +0200, Victor Toso wrote: > From: Victor Toso > > By adding a guard to not handle channel-up on SpiceUsbredirChannel in > case struct usbredirhost wasn't initialized yet. Same guard is in > place for the generic usbredir_handle_msg() function to avoid handling >

[Spice-devel] [spice-gtk v1 2/2] channel-usbredir: Fix crash on channel-up

2018-04-06 Thread Victor Toso
From: Victor Toso By adding a guard to not handle channel-up on SpiceUsbredirChannel in case struct usbredirhost wasn't initialized yet. Same guard is in place for the generic usbredir_handle_msg() function to avoid handling Server's message while Client's initialization is not done. As mentione