libmongocrypt aborts on empty decrypted bson binary values

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: