Re: [PATCH] remote: Fill remote parameters in remoteDomainListAllSnapshots()

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

 



On 04.07.2012 11:01, Peter Krempa wrote:
> This patch fills the domain argument that is sent to the remote side.
> This caused a client segfault as the argument was NULL.
> ---
>  src/remote/remote_driver.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
> index 6f53264..eac50e6 100644
> --- a/src/remote/remote_driver.c
> +++ b/src/remote/remote_driver.c
> @@ -4888,6 +4888,7 @@ remoteDomainListAllSnapshots(virDomainPtr dom,
> 
>      remoteDriverLock(priv);
> 
> +    make_nonnull_domain(&args.dom, dom);
>      args.need_results = !!snapshots;
>      args.flags = flags;
> 

ACK trivial but still serious.

Michal

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