Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1398

Fix crash when accessing base_exception error_context

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.4
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jared.casey Jared Casey
            jared.casey Jared Casey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty