Skip to content

fix(msgpack): Limit deserialization depth#1727

Merged
jpnurmi merged 2 commits into
masterfrom
jpnurmi/fix/msgpack
May 18, 2026
Merged

fix(msgpack): Limit deserialization depth#1727
jpnurmi merged 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 18, 2026 08:44
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>
@jpnurmi jpnurmi force-pushed the jpnurmi/fix/msgpack branch from 7d6b10d to 3ecbd9e Compare May 18, 2026 06:44
@jpnurmi jpnurmi requested review from JoshuaMoelans and mujacica May 18, 2026 07:34
@jpnurmi jpnurmi merged commit e4821a6 into master May 18, 2026
62 checks passed
@jpnurmi jpnurmi deleted the jpnurmi/fix/msgpack branch May 18, 2026 09:09
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