[libvirt] [PATCH] virsh: domain: Use global constant for XML file size limit

Ján Tomko jtomko at redhat.com
Tue Oct 14 08:25:37 UTC 2014


On 10/14/2014 10:09 AM, Peter Krempa wrote:
> Few places still used hardcoded limit for maximum XML size for commands
> that accept XML files. The hardcoded limits ranged from 8k to 1M. Use
> VSH_MAX_XML_FILE to express this limit in a unified way. This will bump
> the limit for the commands that used hardcoded string lengths to 10M.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1152427
> ---
>  tools/virsh-domain.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

ACK

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141014/fb295047/attachment-0001.sig>


More information about the libvir-list mailing list