Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43166

auditFormat BSON writes incomplete bson

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.2.0
    • 4.2.1, 4.3.1
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Security 2019-09-23

    Description

      When auditFormat BSON is used, a BSONObj is converted to std::string via const char* string. A const char* string's length is computed based on a null byte, this may lead to incorrect results for BSONObjs.

      Attachments

        Issue Links

          Activity

            People

              mark.benvenuto@mongodb.com Mark Benvenuto
              mark.benvenuto@mongodb.com Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: