Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*ring* AES-CTR may panic when overflow checking is enabled. #2240

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

briansmith
Copy link
Contributor

No description provided.

Comment on lines 16 to 17
`ring::aead::quic::HeaderProtectionKey::new_mask()` may panic when overflow
checking is enabled.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth expanding slightly on when this happens? This gets one sentence while it seems much more risky than the AES-GCM usage, which you spend an entire paragraph on.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Check out the updated text, please.

@briansmith briansmith force-pushed the b/ring-panic-overflow branch from bf27326 to 272f00e Compare March 6, 2025 20:44
Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@tarcieri tarcieri merged commit bc9d2ad into rustsec:main Mar 6, 2025
1 check passed
@briansmith briansmith deleted the b/ring-panic-overflow branch March 7, 2025 00:13
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.

3 participants