ack On Tue, Jan 10, 2012 at 9:54 PM, Yonit Halperin <[email protected]> wrote: > --- > gtk/spice-channel.c | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c > index 04af87d..d0c719d 100644 > --- a/gtk/spice-channel.c > +++ b/gtk/spice-channel.c > @@ -1632,7 +1632,7 @@ void spice_channel_recv_msg(SpiceChannel *channel, > return; > } > > - if (in->header.sub_list) { > + if (in->header.type == SPICE_MSG_LIST || in->header.sub_list) { > SpiceSubMessageList *sub_list; > SpiceSubMessage *sub; > SpiceMsgIn *sub_in; > @@ -1665,6 +1665,10 @@ void spice_channel_recv_msg(SpiceChannel *channel, > } > } > > + if (in->header.type == SPICE_MSG_LIST) { > + goto end; > + } > + > /* parse message */ > in->parsed = c->parser(in->data, in->data + in->dpos, in->header.type, > c->peer_hdr.minor_version, &in->psize, &in->pfree); > -- > 1.7.6.4 >
-- Marc-André Lureau _______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
