Re: [PATCH] qemuDomainSetupDisk: Initialize 'targetPaths'

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

 



On Tue, Jan 25, 2022 at 05:59:28PM +0100, Peter Krempa wrote:
> Compiler isn't able to see that 'virDevMapperGetTargets' in cases e.g.
> when the devmapper isn't available may not initialize the value in the
> pointer passed as the second argument.
>
> The usage 'qemuDomainSetupDisk' lead to an accidental infinite loop as
> previous calls apparently doctored the stack to a point where
> 'g_slist_concat' would end up in an infinite loop trying to find the end
> of the list.
>
> Fixes: 6c49c2ee9fc

Full commit hash here maybe?

Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization




[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]

  Powered by Linux