mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
Xen: use correct domctl version in domaininfolist union
Commmit fd2e3c4c
used the domctl version 8 structure for version 9
in the xen_getdomaininfolist union, resulting in insufficient buffer
size (and subsequent memory corruption) for the GETDOMAININFOLIST
ioctl.
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
ebfd6f45c3
commit
6564de5e95
@ -309,7 +309,7 @@ union xen_getdomaininfolist {
|
||||
struct xen_v2d6_getdomaininfo *v2d6;
|
||||
struct xen_v2d7_getdomaininfo *v2d7;
|
||||
struct xen_v2d8_getdomaininfo *v2d8;
|
||||
struct xen_v2d8_getdomaininfo *v2d9;
|
||||
struct xen_v2d9_getdomaininfo *v2d9;
|
||||
};
|
||||
typedef union xen_getdomaininfolist xen_getdomaininfolist;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user