-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Stability
-
Security 2020-02-24, Security 2020-03-09, Security 2020-03-23
Currently it does not. readCString probably should too, but at least UTF8 isn't part of it's name.
Example failing test:
TEST(BSONValidateFast, InvalidUTF8) { BSONObj x = BSON("invalidUTF8" << "\xFF"); // this byte should never be in well-formed utf8. ASSERT_NOT_OK(validateBSON(x.objdata(), x.objsize())); }
- documents
-
SERVER-27426 validateBSON should assert that Array elements have indexes from 0...n
- Closed
- duplicates
-
SERVER-21753 Improve UTF-8 validation of BSON documents
- Closed
- related to
-
SERVER-51083 Problem with regex index bounds
- Closed
-
SERVER-29466 Cannot query over fields containing invalid UTF-8
- Closed
-
SERVER-93732 The server should reject inserting/updating strings containing invalid UTF-8
- Needs Scheduling