Skip to content

Conversation

vcsjones
Copy link
Member

Summary

The example code read from the backing MemoryStream before the CryptoStream flushed the final block to the underlying stream.

Fixes #10119

@vcsjones vcsjones requested a review from bartonjs September 30, 2024 15:47
@vcsjones vcsjones requested a review from a team as a code owner September 30, 2024 15:47
@ghost ghost added the area-System.Security Issues related to security practices for .NET developers. label Sep 30, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones

Copy link

Learn Build status updates of commit cfe9ad0:

✅ Validation status: passed

File Status Preview URL Details
snippets/csharp/System.Security.Cryptography/Aes/Overview/program.cs ✅Succeeded View
snippets/csharp/System.Security.Cryptography/AesCryptoServiceProvider/Overview/program.cs ✅Succeeded View
snippets/csharp/System.Security.Cryptography/AesManaged/Overview/program.cs ✅Succeeded View
snippets/csharp/System.Security.Cryptography/RijndaelManaged/Overview/class1.cs ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@gewarren gewarren merged commit 15dfa29 into dotnet:main Sep 30, 2024
3 checks passed
@vcsjones vcsjones deleted the fix-10119 branch September 30, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Security Issues related to security practices for .NET developers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in System.Security.Cryptography.AES contructor example
2 participants