Re: [PATCH 6/6] util: storagefile: Don't pursue backing chain of NULL image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/28/14 23:09, Eric Blake wrote:
> On 03/28/2014 04:01 PM, Peter Krempa wrote:
>> When virStorageFileGetMetadata is called with NULL path argument, the
>> invalid pointer boils down through the recursive worker and is caught by
>> virHashAddEntry which is thankfully resistant to NULL arguments. As it
>> doesn't make sense to pursue backing chains of NULL volumes, exit
>> earlier.
>>
>> This was noticed in the virt-aahelper-test with a slightly modified
>> codebase.
>> ---
>>  src/util/virstoragefile.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> ACK; safe for 1.2.3
> 

Pushed; Thanks

Peter


Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]