| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones |
Sorry, something went wrong.
There was a problem hiding this comment.
That was a fast fix!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Backport of #107932 to release/9.0
/cc @vcsjones
Customer Impact
Regression
Failing test reported in #107929 and #105715. An assert existed that a particular SafeHandle is valid, however this is not true in a multi-threaded case where the handle is disposed and used concurrently. This assert would occasionally be hit in unit tests.
SafeHandles handle thread safety, correctly, on their own. We should remove the assert and let the ObjectDisposedException from the SafeHandle happen.
Testing
Existing tests continue to pass.
Risk
None / Low. The change removes a Debug.Assert which is only present in Debug builds of Libraries.