This commit is contained in:
Michael Davidsaver
2013-12-14 14:14:10 -05:00
parent b994904204
commit c9872d911b

View File

@ -209,6 +209,7 @@ static PyObject *pyField_setlen(pyField *self, PyObject *args)
!prset->put_array_info)
{
PyErr_SetString(PyExc_TypeError, "Not an array field");
return NULL;
}
if(len<1 || len > self->addr.no_elements) {