Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-22

libmongocrypt aborts on empty decrypted bson binary values

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      If a user encrypts a BSON binary value with an empty value (i.e. length 0), then libmongocrypt will abort trying to append it.

      It calls bson_append_value which calls bson_append_binary which asserts that the binary value has a non-zero length.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: