projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
712ec10
)
65 is the length of the command structure's field.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Wed, 29 Oct 2008 18:36:49 +0000 (18:36 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Wed, 29 Oct 2008 18:36:49 +0000 (18:36 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2804
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
python/_libvserver.c
patch
|
blob
|
history
diff --git
a/python/_libvserver.c
b/python/_libvserver.c
index
c5eb892
..
3404c9d
100644
(file)
--- a/
python/_libvserver.c
+++ b/
python/_libvserver.c
@@
-591,7
+591,7
@@
pyvserver_get_vhi_name(PyObject UNUSED *self, PyObject *args)
{
xid_t xid;
vc_uts_type type;
- char val[256];
+ char val[65];
if (!PyArg_ParseTuple(args, "Ii", &xid, &type))
return NULL;