Discovered via the fuzzer. Attaching a minimal reproducer. I would recommend updating the up-front validation of clustered index names.
One of the problems with storing embedded null bytes in an index name is that collStats cannot represent the name in BSON since SERVER-95279 introduced stronger checks in the server.
- is related to
-
SERVER-132539 Validate should flag invalid clustered index names
-
- Closed
-
-
SERVER-95279 BSONObjBuilder should prevent appending field names containing NULs
-
- Closed
-