[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/libxc: Set max_elem to zero in xc_lockprof_query_number()
On Wed, 2014-08-13 at 12:40 -0400, Boris Ostrovsky wrote: > If max_elem is not zero then hypervisor's spinlock_profile_ucopy_elem() > will attempt to copy profile data into user's data buffer. Since this > buffer is explicitly set to (the equivalent of) NULL the copy will fail, > causing xenlockprof to fail as well. > > Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> I would have expected DECLARE_SYSCTL to zero the struct, but anyway: Acked + applied, thanks (and sorry for the delay). _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |