[libvirt] [PATCH] qemu: blockcopy: Initialize correct source structure

Peter Krempa pkrempa at redhat.com
Tue Jul 15 13:35:54 UTC 2014


On 07/15/14 15:24, Eric Blake wrote:
> On 07/15/2014 02:35 AM, Peter Krempa wrote:
>> 4cc1f1a01fb338de939ba88eb933931687b22336 introduced a crash when doing a
>> block copy as virStorageSourceInitChainElement was called on
>> "disk->mirror" that is still NULL at that point instead of "mirror"
>> which temporarily holds the mirror source struct until it's fully
>> initialized. This resulted into a crash as a NULL was dereferenced.
>>
>> Reported by: Shanzi Yu <shyu at redhat.com>
>> ---
>>
>> Fortunately unreleased.
>>
>>  src/qemu/qemu_driver.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
> 
> ACK
> 

Pushed; Thanks.

Peter


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


More information about the libvir-list mailing list