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

Peter Krempa pkrempa at redhat.com
Tue Sep 17 10:17:34 UTC 2013


On 09/17/13 11:56, Ján Tomko wrote:
> 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
> 

Pushed; Thanks.

Peter

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


More information about the libvir-list mailing list