[libvirt] [RFC][PATCH] Revision for message payload encoding error when adding a large mount of virtio disks

Richard W.M. Jones rjones at redhat.com
Thu Apr 19 12:45:12 UTC 2012


On Thu, Apr 19, 2012 at 02:25:16PM +0800, Chen Hanxiao wrote:
>   * This is an arbitrary limit designed to stop the decoder from trying
>   * to allocate unbounded amounts of memory when fed with a bad message.
>   */
> -const REMOTE_STRING_MAX = 65536;
> +const REMOTE_STRING_MAX = 80000;

Can this limit be changed?  I thought it would break existing clients
or servers.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the libvir-list mailing list