From 9cd5375cdc1c902da2e6a5cb70d01934a6b71d22 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 29 Oct 2008 18:36:49 +0000 Subject: [PATCH] 65 is the length of the command structure's field. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2804 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- python/_libvserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/_libvserver.c b/python/_libvserver.c index c5eb892..3404c9d 100644 --- 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; -- 1.8.1.5