-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
The bson_value_t* keyid parameter to mongoc_client_encryption_create_datakey is always initialized and must be freed. This dates back to e65a933 for PHPC-1499.
Additionally, the ClientEncryption::encrypt() and decrypt() methods have several leaks where bson_value_t structs are not freed (distinct from PHPC-2088). Those leaks date back to 4d7b35e and f0372a5.