[MONGOCRYPT-430] FLE2: Unexpected queryType crash whole process Created: 18/May/22 Updated: 28/Oct/23 Resolved: 19/May/22 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Dmitry Lukyanov (Inactive) | Assignee: | Colby Pike |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Setting an arbitrary queryType like QueryType=0 crash the whole app process with the error similar to:
We should be more robust to unexpected queryType. |
| Comments |
| Comment by Githook User [ 19/May/22 ] |
|
Author: {'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}Message: Ensure we handle all enums in a switch and have a default case (#340) Fixes |