Invalid bson returned in bulk operation reply in some cases

XMLWordPrintableJSON

    • 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.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Thijs Cadier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: