XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1
    • Generic
    • None

    Description

      In mariadb_connection.c: MrdbConnection_close does not increment references to Py_None. This leads to de-reference a null object error after some number of get_connection/close connection of the pool.

      Replacing (line 580)
      pthread_mutex_unlock(&self->pool->lock);
      return Py_None;

      with
      pthread_mutex_unlock(&self->pool->lock);
      Py_INCREF(Py_None);
      return Py_None;

      fixes the problem.

      Attachments

        Activity

          People

            georg Georg Richter
            Stefko Stefko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.