Invalid lengths for old binary format (type 0x02) are ignored

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.5.1
    • Component/s: libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The following [binary type decode error testshttps://github.com/mongodb/specifications/blob/master/source/bson-corpus/tests/binary.json] fail to emit an error:

      • subtype 0x02 length too long
      • subtype 0x02 length too short
      • subtype 0x02 length negative one

            Assignee:
            Unassigned
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: