- 
    Type:Bug 
- 
    Resolution: Done
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: None
- 
        Minor Change
- 
        ALL
- 
        Execution Team 2021-11-29, Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24
- 
        129
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
A BSONElement of type String has a pointer + length implementation and therefore may contain an embedded null byte. BSONObj::getStringField uses valuestr in its implementation, which can lead us to incorrectly interpret the string as null terminated.
- causes
- 
                    SERVER-67028 Fix 12% perf loss in validateBSON due to BSONElement changes -         
- Closed
 
-