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

mongocrypt_kms_ctx_feed should return an error when given an empty bytes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.7.0, 1.7.0-alpha0
    • None
    • None

    Description

      In PYTHON-3017 I discovered a bug in pymongo's CSFLE implementation where the kms_request I/O feeding loop could end up in an infinite loop. Libmongocrypt could prevent this type of bug by returning an error if mongocrypt_kms_ctx_feed is called with an empty mongocrypt_binary_t bytes.

      Attachments

        Activity

          People

            gil.alon@mongodb.com Gil Alon
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: