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

auditFormat BSON writes incomplete bson

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.1, 4.3.1
    • Affects Version/s: 4.2.0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Security 2019-09-23

      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.

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

              Created:
              Updated:
              Resolved: