On 08/01/2020 15:07, Jan Beulich wrote:
> The use of any kind of pointers in the public interface is wrong,
> including dimensioning arrays based on the size of pointers. The least
> bad option of addressing the issue looks to be to pin down the number
> that the (64-bit) hypervisor has used anyway (even when passing 
> information to compat but privileged guests). There aren't actual
> instantiations of the structure apart from ones allocated dynamically
> out of struct mc_info's mi_data[], which is entirely controlled by the
> hypervisor.
>
> Signed-off-by: Jan Beulich <jbeul...@suse.com>

Acked-by: Andrew Cooper <andrew.coop...@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to