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

Specifying nonexistent crypto provider leads to segfault during shutdown

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.6, 2.8.7
    • Fix Version/s: 2.9.0
    • Component/s: library
    • Labels:
      None

      Description

      If a nonexistent provider is referenced when calling the lcbcrypto_encrypt/decrypt_document calls, then a NULL entry with this name will be added to the instance->crypto map (this is default behaviour for the std::map [] operator). I have created a fix for this issue which I will push momentarily.

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.5.0-2663 contains libcouchbase commit 94bd4033d6555c5feecb98b5874c9b0ab65a7e05 with commit message:
          CCBC-925: Do not register nonexistent crypto providers during lookup
          https://github.com/couchbase/libcouchbase/commit/94bd4033d6555c5feecb98b5874c9b0ab65a7e05

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.0-2663 contains libcouchbase commit 94bd4033d6555c5feecb98b5874c9b0ab65a7e05 with commit message: CCBC-925 : Do not register nonexistent crypto providers during lookup https://github.com/couchbase/libcouchbase/commit/94bd4033d6555c5feecb98b5874c9b0ab65a7e05
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.0.0-1100 contains libcouchbase commit 644132b44aa5bb9f93aca8bf9e3c2ebd2b190251 with commit message:
          CCBC-925: Do not register nonexistent crypto providers during lookup
          https://github.com/couchbase/libcouchbase/commit/644132b44aa5bb9f93aca8bf9e3c2ebd2b190251

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.0-1100 contains libcouchbase commit 644132b44aa5bb9f93aca8bf9e3c2ebd2b190251 with commit message: CCBC-925 : Do not register nonexistent crypto providers during lookup https://github.com/couchbase/libcouchbase/commit/644132b44aa5bb9f93aca8bf9e3c2ebd2b190251
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.0.0-1100 contains libcouchbase commit 94bd4033d6555c5feecb98b5874c9b0ab65a7e05 with commit message:
          CCBC-925: Do not register nonexistent crypto providers during lookup
          https://github.com/couchbase/libcouchbase/commit/94bd4033d6555c5feecb98b5874c9b0ab65a7e05

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.0-1100 contains libcouchbase commit 94bd4033d6555c5feecb98b5874c9b0ab65a7e05 with commit message: CCBC-925 : Do not register nonexistent crypto providers during lookup https://github.com/couchbase/libcouchbase/commit/94bd4033d6555c5feecb98b5874c9b0ab65a7e05
          Hide
          build-team Couchbase Build Team added a comment -

          Build libcouchbase-2.8.5-164 contains libcouchbase commit 644132b44aa5bb9f93aca8bf9e3c2ebd2b190251 with commit message:
          CCBC-925: Do not register nonexistent crypto providers during lookup
          https://github.com/couchbase/libcouchbase/commit/644132b44aa5bb9f93aca8bf9e3c2ebd2b190251

          Show
          build-team Couchbase Build Team added a comment - Build libcouchbase-2.8.5-164 contains libcouchbase commit 644132b44aa5bb9f93aca8bf9e3c2ebd2b190251 with commit message: CCBC-925 : Do not register nonexistent crypto providers during lookup https://github.com/couchbase/libcouchbase/commit/644132b44aa5bb9f93aca8bf9e3c2ebd2b190251
          Hide
          build-team Couchbase Build Team added a comment -

          Build libcouchbase-2.8.5-164 contains libcouchbase commit 94bd4033d6555c5feecb98b5874c9b0ab65a7e05 with commit message:
          CCBC-925: Do not register nonexistent crypto providers during lookup
          https://github.com/couchbase/libcouchbase/commit/94bd4033d6555c5feecb98b5874c9b0ab65a7e05

          Show
          build-team Couchbase Build Team added a comment - Build libcouchbase-2.8.5-164 contains libcouchbase commit 94bd4033d6555c5feecb98b5874c9b0ab65a7e05 with commit message: CCBC-925 : Do not register nonexistent crypto providers during lookup https://github.com/couchbase/libcouchbase/commit/94bd4033d6555c5feecb98b5874c9b0ab65a7e05
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.5.0-2665 contains libcouchbase commit 644132b44aa5bb9f93aca8bf9e3c2ebd2b190251 with commit message:
          CCBC-925: Do not register nonexistent crypto providers during lookup
          https://github.com/couchbase/libcouchbase/commit/644132b44aa5bb9f93aca8bf9e3c2ebd2b190251

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.0-2665 contains libcouchbase commit 644132b44aa5bb9f93aca8bf9e3c2ebd2b190251 with commit message: CCBC-925 : Do not register nonexistent crypto providers during lookup https://github.com/couchbase/libcouchbase/commit/644132b44aa5bb9f93aca8bf9e3c2ebd2b190251

            People

            • Assignee:
              avsej Sergey Avseyev
              Reporter:
              Ellis.Breen Ellis Breen
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.