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.
- is duplicated by
-
SERVER-44956 Audit trail corrupt on Mac OSX Catalina
- Closed