|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix stack corruption in the libxs python interface. domi
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID cf7c902c790b07d7c45cfd54afe3e19daf3bcbac
# Parent 5802713c159be8de26b312f443bd4268c1764500
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 5802713c159b -r cf7c902c790b tools/python/xen/lowlevel/xs/xs.c
--- a/tools/python/xen/lowlevel/xs/xs.c Thu Apr 13 14:18:37 2006
+++ b/tools/python/xen/lowlevel/xs/xs.c Thu Apr 13 18:14:46 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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Fix stack corruption in the libxs python interface. domid_t is a short;,
Xen patchbot -3 . 0-testing <=
|
|
|
|
|