Open
Description
The following function:
static PyObject *
psyco_curs_callproc(cursorObject *self, PyObject *args)
{
PyObject *parameters = NULL;
Py_ssize_t nparameters = 0;
if (!PyArg_ParseTuple(args, "O", ¶meters)) {
goto exit;
}
nparameters = PyObject_Length(parameters);
if (nparameters == -1) { return NULL; }
Py_RETURN_NONE;
}
returns a false positive, stating that if PyObject_Length
fails the function returns without an exception.
Metadata
Metadata
Assignees
Labels
No labels