Skip to content

THRIFT-6131: Bound Ruby HeaderTransport varint32 parsing - #3687

Merged
kpumuk merged 1 commit into
apache:masterfrom
kpumuk:THRIFT-6131
Jul 29, 2026
Merged

THRIFT-6131: Bound Ruby HeaderTransport varint32 parsing#3687
kpumuk merged 1 commit into
apache:masterfrom
kpumuk:THRIFT-6131

Conversation

@kpumuk

@kpumuk kpumuk commented Jul 29, 2026

Copy link
Copy Markdown
Member

Ruby HeaderTransport previously continued parsing malformed variable-length uint32s until the Header boundary. It now limits the reader to five bytes, rejects fifth-byte overflow, and retains valid five-byte values. The regression coverage includes the boundary-sized continuation header, a fifth-byte overflow, and a valid fifth byte.

  • Did you create an Apache Jira ticket? (THRIFT-6131, not required for trivial changes)
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Client: rb

Co-Authored-By: OpenAI Codex (GPT-5.6) <codex@openai.com>
Copilot AI review requested due to automatic review settings July 29, 2026 16:52

This comment was marked as spam.

@mergeable mergeable Bot added the ruby Pull requests that update Ruby code label Jul 29, 2026
@Jens-G
Jens-G self-requested a review July 29, 2026 21:11
@kpumuk
kpumuk merged commit 8de8fc9 into apache:master Jul 29, 2026
95 checks passed
@kpumuk
kpumuk deleted the THRIFT-6131 branch July 29, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants