-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Dotnet Drivers
-
Not Needed
-
From our Coverity analysis, all the high impact issues reported in the src directory of the driver were from not properly disposing of classes implementing IDisposable. We need to properly dispose those classes in the following use cases in the driver.
MongoDB.Driver.Core.Authentication.Oidc.AzureOidcCallback::GetOidcAccessToken()
MongoDB.Driver.Encryption.LibMongoCryptControllerBase::ProcessReadyState()
MongoDB.Driver.Encryption.LibMongoCryptControllerBase::ProcessNeedMongoKeysStateAsync()
MongoDB.Driver.Encryption.AutoEncryptionLibMongoCryptController::ProcessNeedMongoMarkingsState()
MongoDB.Driver.Encryption.AutoEncryptionLibMongoCryptController::ProcessNeedMongoMarkingsStateAsync()
MongoDB.Driver.Encryption.AutoEncryptionLibMongoCryptController::ProcessNeedCollectionInfoState()
MongoDB.Driver.Encryption.AutoEncryptionLibMongoCryptController::ProcessNeedCollectionInfoStateAsync()