Should check for inconsistent sizes when decoding the OldBinary subtype of Binary

XMLWordPrintableJSON

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

      The deprecated old binary subtype encodes the size of the binary twice. The driver should throw an exception of the sizes don't match.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: