[libvirt] [PATCH] Xen: use correct domctl version in domaininfolist union

Jim Fehlig jfehlig at suse.com
Tue Jan 12 17:37:59 UTC 2016


Martin Kletzander wrote:
> On Mon, Jan 11, 2016 at 03:26:23PM -0700, Jim Fehlig wrote:
>> 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 at suse.com>
>> ---
>> src/xen/xen_hypervisor.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
> 
> I cannot test this, but it's kind of obvious.  ACK.

Nod. Nearly applicable to the trivial rule. Pushed now. Thanks!

Regards,
Jim




More information about the libvir-list mailing list