[PATCH] qemu: Don't crash when getting targets for a multipath

Ján Tomko jtomko at redhat.com
Thu Mar 19 16:42:15 UTC 2020


On a Thursday in 2020, Michal Privoznik wrote:
>In one of my previous commits I've introduced code that creates
>all devices for given (possible) multipath target. But I've made
>a mistake there - the code accesses src->path without checking if
>the disk source is local. Note that the path is NULL if the
>source is not local.
>
>Fixes: a30078cb832646177defd256e77c632905f1e6d0
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1814947
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_domain.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200319/5657f5b1/attachment-0001.sig>


More information about the libvir-list mailing list