mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
remote: Fill remote parameters in remoteDomainListAllSnapshots()
This patch fills the domain argument that is sent to the remote side. This caused a client segfault as the argument was NULL.
This commit is contained in:
parent
a4f74cd09a
commit
d59e10338d
@ -4888,6 +4888,7 @@ remoteDomainListAllSnapshots(virDomainPtr dom,
|
|||||||
|
|
||||||
remoteDriverLock(priv);
|
remoteDriverLock(priv);
|
||||||
|
|
||||||
|
make_nonnull_domain(&args.dom, dom);
|
||||||
args.need_results = !!snapshots;
|
args.need_results = !!snapshots;
|
||||||
args.flags = flags;
|
args.flags = flags;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user