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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.5.1
    • Component/s: libbson
    • Labels:
      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 Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: