Skip to content

fix(msgpack): Limit deserialization depth#1727

Open
jpnurmi wants to merge 2 commits into
masterfrom
jpnurmi/fix/msgpack
Open

fix(msgpack): Limit deserialization depth#1727
jpnurmi wants to merge 2 commits into
masterfrom
jpnurmi/fix/msgpack

Conversation

@jpnurmi
Copy link
Copy Markdown
Collaborator

@jpnurmi jpnurmi commented May 15, 2026

Reject msgpack payloads that exceed the maximum nesting depth so malformed input cannot grow the C call stack without bound. Add a focused regression test for the accepted boundary and the first rejected depth.

jpnurmi and others added 2 commits May 15, 2026 18:00
Reject msgpack payloads that exceed the maximum nesting depth so malformed input
cannot grow the C call stack without bound. Add a focused regression test for
the accepted boundary and the first rejected depth.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
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.

1 participant