[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix stack corruption in the libxs python interface. domid_t is a short;
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID ec4f87e98fc12ca5a50c3858ec878926c3ffd3fe # Parent e7d769001b4b2dc9d21beecdf4c20c69b0242a61 Fix stack corruption in the libxs python interface. domid_t is a short; instead use uint32_t like we do in xc.c. Signed-off-by: John Levon <john.levon@xxxxxxx> diff -r e7d769001b4b -r ec4f87e98fc1 tools/python/xen/lowlevel/xs/xs.c --- a/tools/python/xen/lowlevel/xs/xs.c Thu Apr 13 16:21:13 2006 +++ b/tools/python/xen/lowlevel/xs/xs.c Thu Apr 13 18:14:11 2006 @@ -589,7 +589,7 @@ static PyObject *xspy_introduce_domain(XsHandle *self, PyObject *args) { - domid_t dom; + uint32_t dom; unsigned long page; unsigned int port; @@ -620,7 +620,7 @@ static PyObject *xspy_release_domain(XsHandle *self, PyObject *args) { - domid_t dom; + uint32_t dom; struct xs_handle *xh = xshandle(self); bool result = 0; @@ -677,7 +677,7 @@ static PyObject *xspy_get_domain_path(XsHandle *self, PyObject *args) { struct xs_handle *xh = xshandle(self); - int domid; + uint32_t domid; char *xsval; if (!xh) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |