-
Type: Bug
-
Resolution: Done
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Dotnet Drivers
-
Not Needed
-
Dereference after null check
Either the check against null is unnecessary, or there may be a null reference exception. Reference is checked against null but then dereferenced anyway
/src/MongoDB.Driver.Core/Core/Clusters/DnsMonitor.cs:204:
ComputeRescanDelay doesn't check if srvRecords is null which may cause a null dereference exception