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

FLE2: Unexpected queryType crash whole process

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      Setting an arbitrary queryType like QueryType=0 crash the whole app process with the error similar to:

      The active test run was aborted. Reason: Test host process crashed : c:\data\mci\bdae390c7e9db4405009f11458fd4b87\libmongocrypt\src\mongocrypt-marking.c:811 _mongocrypt_marking_to_ciphertext(): precondition failed: marking->fle2.type == MONGOCRYPT_FLE2_PLACEHOLDER_TYPE_FIND
      

      We should be more robust to unexpected queryType.

      Attachments

        Activity

          People

            colby.pike@mongodb.com Colby Pike
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: