-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
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.