[libvirt] [PATCH] conf: Don't corrupt metadata on OOM

Ján Tomko jtomko at redhat.com
Tue Sep 17 09:56:53 UTC 2013


On 09/17/2013 11:19 AM, Peter Krempa wrote:
> Eric Blake suggested that we could do a little better in case copying of
> the metadata to be set fails. With this patch, the old metadata is
> discarded after the new string is copied successfuly.
> ---
>  src/conf/domain_conf.c | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
> 

ACK

Jan




More information about the libvir-list mailing list