Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7884

Don't try to create a std::string out of a NIL pointer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • SmartOS

    Description

      When running SmartOS I got a coredump in strlen() called from one of the constructors creating a string out of a null pointer. According to my copy of the C++ specification the constructor with the char* requires the pointer to be a non-null value.

      Attachments

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

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty