FLE2: Unexpected queryType crash whole process

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Colby Pike
            Reporter:
            Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: