Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2362

Should throw an exception if a one byte BSON string is not properly null-terminated

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 3.5.0
    • None
    • BSON
    • None

    Description

      Currently the driver ignores the value of the byte rather than checking that it's 0. This change will detect the corrupt BSON and throw an exception instead.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: