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

Re: [Xen-devel] [PATCH] libxc: don't pass uninitialized data to do_dm_op()



On Thu, Feb 16, 2017 at 08:44:08AM -0700, Jan Beulich wrote:
> do_dm_op() expects (void *, size_t) pairs, but with nr being uint32_t
> the type of the expression of xc_hvm_track_dirty_vram()'s last argument
> to the function is only a 32 bits one. Neither C nor the ABI require
> the compiler to promote the type beyond int.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.