Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-151

Cancellation of the HTTP request might lead to segfault or memory leaks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.2
    • 2.0.1
    • library
    • Security Level: Public
    • None

    Description

      • request_valid() and lcb_cancel_http_request() must not dereference request pointer until it makes sure that the pointer is valid
      • lcb_cancel_http_request() must not remove the request from the hashset, because it will prevent it from destroying
      • on_data callback should check if the request has been cancelled and finish it without on_complete notification.

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty