[Spice-devel] [PATCH spice-gtk RFC] Call spice_marshaller_flush on message write

Christophe Fergeau cfergeau at redhat.com
Fri Jul 31 06:25:32 PDT 2015


On Mon, Jul 27, 2015 at 03:06:12PM +0200, Javier Celaya wrote:
> spice_marshaller_flush must be called before writing a message to
> calculate pointer offsets.

Yes, though so far this was not needed as the only ptr marshaller is
used for TunnelChannel::service_add message, which spice-gtk does not
support. I assume you hit this bug while working on the same code which
led to this spice-common/common/marshallers.c fix?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150731/4b270ecf/attachment.sig>


More information about the Spice-devel mailing list