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

Audit code for usage of BSONObjBuilder.append(“ns”.. ) or append("$db"..)

    • Service Arch
    • Service Arch 2023-12-11, Service Arch 2023-12-25
    • 5

      There are about 40+ call sites which use BSONObjBuilder.append(“ns”.. ) or append("$db"..). We need to audit those code to ensure the serialization of nss and db name is correct.

      When implementing this solution, we also need to ensure future bugs do not happen again. A possible solution could be to add clang-tidy checks to prevents incorrect serialization of nss/db.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: