[libvirt] [PATCH] Avoid crash in virBufferEscapeString

Laine Stump laine at laine.org
Thu Oct 15 13:24:18 UTC 2009


On 10/15/2009 06:03 AM, Chris Lalancette wrote:
> Good catch. The hardcode of 100 threw me at first, but I see that we
> appropriately grow the buffer as needed in the loop below, so I think this works.
>    

I thought of trying to make a better guess, but when I saw that 
virBufferVSprintf just used 100 to start, I decided that was my free 
ticket to sloth ;-)




More information about the libvir-list mailing list