Skip to content

Commit

Permalink
MONGOCRYPT-575 add missing BSON_ASSERT_PARAM (#635)
Browse files Browse the repository at this point in the history
add missing BSON_ASSERT_PARAM
  • Loading branch information
kevinAlbs authored Apr 28, 2023
1 parent c9e44e7 commit aa145ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mc-fle2-encryption-placeholder.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ static bool mc_FLE2RangeFindSpecEdgesInfo_parse(mc_FLE2RangeFindSpecEdgesInfo_t
}

bool mc_FLE2RangeFindSpec_parse(mc_FLE2RangeFindSpec_t *out, const bson_iter_t *in, mongocrypt_status_t *status) {
BSON_ASSERT_PARAM(out);
BSON_ASSERT_PARAM(in);

bson_iter_t iter = *in;
bool has_edgesInfo = false, has_payloadId = false, has_firstOperator = false, has_secondOperator = false;

Expand Down

0 comments on commit aa145ad

Please sign in to comment.