File: | bitarray/_bitarray.c |
Function: | bitarray_add |
Error: | returning (PyObject*)NULL without setting an exception |
1671 static PyObject *
1672 bitarray_add(bitarrayobject *self, PyObject *other)
1673 {
1674 PyObject *res;
1675
1676 res = bitarray_copy(self);
when bitarray_copy() succeeds
1677 if (extend_dispatch((bitarrayobject *) res, other) < 0) {
when considering range: -0x80000000 <= value <= -1
taking True path
1678 Py_DECREF(res);
when taking True path
1679 return NULL;
1680 }
1681 return res;
1682 }
returning (PyObject*)NULL without setting an exception
found 1 similar trace(s) to this
File: | bitarray/_bitarray.c |
Function: | bitarray_add |
Error: | dereferencing NULL (res->ob_refcnt) at bitarray/_bitarray.c:1678 |
1671 static PyObject *
1672 bitarray_add(bitarrayobject *self, PyObject *other)
1673 {
1674 PyObject *res;
1675
1676 res = bitarray_copy(self);
when bitarray_copy() fails
1677 if (extend_dispatch((bitarrayobject *) res, other) < 0) {
when considering range: -0x80000000 <= value <= -1
taking True path
1678 Py_DECREF(res);
dereferencing NULL (res->ob_refcnt) at bitarray/_bitarray.c:1678
1679 return NULL;
1680 }
1681 return res;
1682 }