-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.8.0, 1.9.0
-
Component/s: libmongoc
-
None
-
Environment:Seen on Ubuntu 14.04 64 bit and Mac OS Sierra.
When an document inserted in a bulk operation is invalid bson and also contains a certain UTF-8 string the bulk operation reply contains incorrectly truncated UTF-8 data. It looks like it can truncate in the middle of a code point. The returned bson is invalid in that case.
I have a bson file to reliably reproduce this. It contains some customer data so I don't want to post it publicly, but it is not sensitive data so I'm happy to email it to you.
- duplicates
-
SERVER-24007 Server can return invalid UTF8 for error messages due to truncation in the middle of a code point
- Backlog
- is related to
-
DRIVERS-2008 Default to lossy/replacement behavior when decoding UTF-8 in writeErrors
- Backlog