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

lcb_respping_result_scope segfaults if no scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.6
    • None
    • library
    • 1

    Description

      Trying to build the result for Ping and when I call (from rust)

      lcb_respping_result_scope(ping_res, i, &mut scope_ptr, &mut scope_len);

      for a non KV service then I see a SIGSEGV occur. I expected my scope_ptr value to be null and scope_len to be 0 if there was no scope for this index.

      Attachments

        For Gerrit Dashboard: CCBC-1261
        # Subject Branch Project Status CR V

        Activity

          People

            avsej Sergey Avseyev
            charles.dixon Charles Dixon
            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