From: Daniel Hokka Zakrisson Date: Wed, 29 Oct 2008 18:36:49 +0000 (+0000) Subject: 65 is the length of the command structure's field. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cd5375cdc1c902da2e6a5cb70d01934a6b71d22;p=util-vserver.git 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 --- 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;