Open dvarrazzo opened 5 years ago
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.
PyObject_Length
The following function:
returns a false positive, stating that if
PyObject_Length
fails the function returns without an exception.