Details
-
Bug
-
Resolution: Fixed
-
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.