Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 3, 2025

Backport of #120342 to release/10.0

/cc @bartonjs

Customer Impact

  • Customer reported
  • Found internally

The code used a pointer to a stack value after the value had exited its lexical scope.
While that works in practice, it's an undefined behavior.

Regression

  • Yes
  • No

New code in .NET 10, was committed this way.

Testing

Adequate coverage exists with unit tests.

Risk

Low. Mechanical change with high test coverage.

bartonjs and others added 2 commits October 3, 2025 21:20
…/Cryptography/X509Certificates/StorePal.Windows.Export.cs

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
@bartonjs bartonjs added this to the 10.0.0 milestone Oct 3, 2025
@bartonjs bartonjs self-assigned this Oct 3, 2025
@bartonjs bartonjs added area-System.Security Servicing-consider Issue for next servicing release review labels Oct 3, 2025
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Security Servicing-consider Issue for next servicing release review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants