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

bson_iter_visit_all doesn't report invalid key

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.4.0
    • None
    • libbson
    • None

    Description

      Given a field name that's not valid UTF-8, bson_iter_visit_all should execute the "visit_corrupt" callback and return false. Instead, it cancels iteration and returns true, as if the document ended correctly at the previous field.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: