Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2453

Invalid bson returned in bulk operation reply in some cases

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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.

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

              Created:
              Updated:
              Resolved: