Hi, On Mon, Jun 03, 2019 at 08:39:30AM +0100, Frediano Ziglio wrote: > The Cursor/DisplayChannel is not expecting large messages (which are > protocol violations). > > This fixes https://gitlab.freedesktop.org/spice/spice-server/issues/11. > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> Sure, Acked-by: Victor Toso <victortoso@xxxxxxxxxx> > --- > server/common-graphics-channel.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/common-graphics-channel.c b/server/common-graphics-channel.c > index 92349ce4d..cea805d09 100644 > --- a/server/common-graphics-channel.c > +++ b/server/common-graphics-channel.c > @@ -53,7 +53,7 @@ static uint8_t *common_alloc_recv_buf(RedChannelClient *rcc, uint16_t type, uint > } > > if (size > CHANNEL_RECEIVE_BUF_SIZE) { > - spice_critical("unexpected message size %u (max is %d)", size, CHANNEL_RECEIVE_BUF_SIZE); > + spice_warning("unexpected message size %u (max is %d)", size, CHANNEL_RECEIVE_BUF_SIZE); > return NULL; > } > return common->priv->recv_buf; > -- > 2.20.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel