Skip to content

Fix JSON-RPC request size check - #13430

Open
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:fix-jsonrpc-request-size-check
Open

Fix JSON-RPC request size check#13430
bneradt wants to merge 1 commit into
apache:masterfrom
bneradt:fix-jsonrpc-request-size-check

Conversation

@bneradt

@bneradt bneradt commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Unsigned subtraction can wrap after the JSON-RPC request buffer grows
past its configured maximum. This allows oversized requests to be
accepted.

This compares stored bytes directly with the limit and adds regression
coverage for an oversized request.

Fixes: #12312

Unsigned subtraction can wrap after the JSON-RPC request buffer grows
past its configured maximum. This allows oversized requests to be
accepted.

This compares stored bytes directly with the limit and adds regression
coverage for an oversized request.

Fixes: apache#12312
Copilot AI review requested due to automatic review settings July 25, 2026 22:01
@bneradt bneradt added this to the 11.0.0 milestone Jul 25, 2026
@bneradt bneradt self-assigned this Jul 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bneradt bneradt added JSONRPC JSONRPC 2.0 related work. Tests Bug labels Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug JSONRPC JSONRPC 2.0 related work. Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix if conditional

3 participants