Skip to content

UPSTREAM PR #30792: Grow the init_buf incrementally as we receive data#667

Open
loci-dev wants to merge 1 commit into
mainfrom
loci/pr-30792-incremental-buffer
Open

UPSTREAM PR #30792: Grow the init_buf incrementally as we receive data#667
loci-dev wants to merge 1 commit into
mainfrom
loci/pr-30792-incremental-buffer

Conversation

@loci-dev
Copy link
Copy Markdown

Note

Source pull request: openssl/openssl#30792

Instead of growing the init_buf buffer immediately to the full size of the expected message, we grow it incrementally as we receive the data. This prevents abuse where the remote peer claims a very large message size, but then doesn't send it.

This change is as a result of a security issue reported to the openssl-security team by Okta Red Team. The openssl-security team have decided to handle this as a "bug or hardening" only fix.

Instead of growing the init_buf buffer immediately to the full size of the
expected message, we grow it incrementally as we receive the data. This
prevents abuse where the remote peer claims a very large message size, but
then doesn't send it.

This change is as a result of a security issue reported to the
openssl-security team by Okta Red Team. The openssl-security
team have decided to handle this as a "bug or hardening" only fix.
@loci-dev loci-dev force-pushed the main branch 3 times, most recently from b5b7577 to a9c9e17 Compare April 23, 2026 03:41
@loci-dev loci-dev force-pushed the main branch 4 times, most recently from 421b135 to 770bf14 Compare April 28, 2026 03:44
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.

2 participants