FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[release/9.0] Remove invalid assert in RSAOpenSsl by github-actions[bot] · Pull Request #107952 · dotnet/runtime · GitHub

Repository navigation

[release/9.0] Remove invalid assert in RSAOpenSsl - #107952

Merged
carlossanlop merged 1 commit into
release/9.0from
backport/pr-107932-to-release/9.0
Sep 19, 2024
Merged

carlossanlop merged 1 commit into
release/9.0from
backport/pr-107932-to-release/9.0

Conversation

github-actions Bot commented Sep 17, 2024 •
edited by vcsjones
Loading

Copy link
Copy Markdown
Contributor

Backport of #107932 to release/9.0

/cc @vcsjones

Customer Impact

  • Customer reported
  • Found internally

Regression

  • Yes
  • No

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.

ghost added the area-System.Security label Sep 17, 2024

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

vcsjones added this to the 9.0.0 milestone Sep 17, 2024
jeffhandley added the Servicing-consider Issue for next servicing release review label Sep 17, 2024
jeffhandley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 18, 2024

carlossanlop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

That was a fast fix!

carlossanlop merged commit f1b67af into release/9.0 Sep 19, 2024
carlossanlop deleted the backport/pr-107932-to-release/9.0 branch September 19, 2024 01:52
github-actions Bot locked and limited conversation to collaborators Oct 19, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Security Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL