Message is checked by generated message parser. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/red-channel-client.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/red-channel-client.c b/server/red-channel-client.c index 35eafa7a..832b4175 100644 --- a/server/red-channel-client.c +++ b/server/red-channel-client.c @@ -1464,10 +1464,6 @@ bool red_channel_client_handle_message(RedChannelClient *rcc, uint16_t type, { switch (type) { case SPICE_MSGC_ACK_SYNC: - if (size != sizeof(uint32_t)) { - red_channel_warning(red_channel_client_get_channel(rcc), "bad message size"); - return FALSE; - } rcc->priv->ack_data.client_generation = *(uint32_t *)(message); break; case SPICE_MSGC_ACK: -- 2.21.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel