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
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.6
    • 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

          Build couchbase-server-7.0.0-4433 contains libcouchbase commit 3275bfc with commit message:
          CCBC-1261: ping: set namespace length to zero if not applicable

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4433 contains libcouchbase commit 3275bfc with commit message: CCBC-1261 : ping: set namespace length to zero if not applicable

          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