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

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.6, 2.8.7
    • 2.9.0
    • library
    • 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

          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

          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

          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

          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

          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

          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

          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

          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

          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

          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

          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

          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

            avsej Sergey Avseyev
            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