Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0.x
-
None
-
None
-
1
Description
When accessing the base_exception error_context or error_info, a crash is possible when working with views. When building the ViewErrorContext a PyObject* is incorrectly DECREF'd which causes can lead to the crash.
NOTE: Earlier thought on believing PyDict_Copy only did a shallow copy was incorrect. PyDict_Copy will increment all the keys and values in the dict object when copying to a new dict object correctly. See CPython code.
Attachments
For Gerrit Dashboard: PYCBC-1398 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
178726,2 | PYCBC-1398: Fix crash when accessing base_exception error_context | master | couchbase-python-client | Status: MERGED | +2 | +1 |