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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.5.0
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: