[Libguestfs] [PATCH] Raise error message max size to 64K.

Matthew Booth mbooth at redhat.com
Tue Aug 24 09:06:21 UTC 2010


On 23/08/10 22:43, Richard W.M. Jones wrote:
>> From 8f22ca1afb619762ad66eae46afd194bdd7f3224 Mon Sep 17 00:00:00 2001
> From: Richard Jones<rjones at redhat.com>
> Date: Mon, 23 Aug 2010 22:14:27 +0100
> Subject: [PATCH 1/2] Raise error message max size to 64K.
>
> This commit removes one of the protocol limits, by raising the
> maximum error message size from 256 bytes to 64K.
>
> Although we could consider raising this further, since the
> error messages are currently stored in fixed sized buffers on
> the stack, that would require more invasive code changes.
> ---
>   src/generator.ml |    6 +++++-
>   src/guestfs.pod  |    9 ---------
>   2 files changed, 5 insertions(+), 10 deletions(-)

ACK.

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490




More information about the Libguestfs mailing list