← 输入框|github.com|刷新
Skip to content

Fix disposal order for Standard encrypted package streams - #773

Merged
appel1 merged 1 commit into
developfrom
issue772
Oct 24, 2026
Merged

appel1 merged 1 commit into
developfrom
issue772

Conversation

@appel1

@appel1 appel1 commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Dispose the CryptoStream before its decryptor and cipher, guaranteeing cleanup when disposal fails. Cover unread, partial and complete reads, repeated disposal, and underlying-stream failures.

Fixes #772

Dispose the CryptoStream before its decryptor and cipher, guaranteeing cleanup when disposal fails. Cover unread, partial and complete reads, repeated disposal, and underlying-stream failures.

Fixes #772
@appel1
appel1 merged commit 549d948 into develop Oct 24, 2026
4 checks passed
@appel1
appel1 deleted the issue772 branch October 24, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standard encrypted package stream can throw when disposed after a partial read

1 participant