[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] KEXEC: fix kexec_get_range_compat to fail vocally
On 05/12/2011 11:35, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx> wrote: > I am not sure that this is the only instance, but it is really not > acceptable to hand truncated pointers or sizes for physical memory to dom0. I applied as c/s 24358 but I changed the mask-checking arithmetic a bit. Not only is it now shorter, I'm also more certain that it is correct: It looks to me like ~((unsigned int)-1) performs the ~ before promotion to unsigned long, hence this term ends up as 0 rather than 0xffffffff00000000. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |