Skip to content

Check for overflow when encrypting under ABE - #696

Open
ETCaton wants to merge 1 commit into
cloudflare:mainfrom
ETCaton:push-pyzznowxtnss
Open

Check for overflow when encrypting under ABE#696
ETCaton wants to merge 1 commit into
cloudflare:mainfrom
ETCaton:push-pyzznowxtnss

Conversation

@ETCaton

@ETCaton ETCaton commented Aug 27, 2026

Copy link
Copy Markdown

Because of the use of uint16, >65535 byte values put into the header will wrap around silently and cause decryption to later fail with a confusing "too short" message.

This fixes encryption so that it rejects loudly and this can't silently occur (either accidentally or by malicious policy)

See #695


Open in Devin Review
Because of the use of uint16, >65535 byte values put into the header will
wrap around silently and cause decryption to later fail with a confusing
"too short" message.

This fixes encryption so that it rejects loudly and this can't silently
occur (either accidentally or by malicious policy)

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant