Show More
@@ -1251,7 +1251,7 b' static PyObject *index_partialmatch(inde' | |||
|
1251 | 1251 | if (!PyArg_ParseTuple(args, PY23("s#", "y#"), &node, &nodelen)) |
|
1252 | 1252 | return NULL; |
|
1253 | 1253 | |
|
1254 |
if (nodelen < |
|
|
1254 | if (nodelen < 1) { | |
|
1255 | 1255 | PyErr_SetString(PyExc_ValueError, "key too short"); |
|
1256 | 1256 | return NULL; |
|
1257 | 1257 | } |
General Comments 0
You need to be logged in to leave comments.
Login now