Skip to content

Add depth limit to xdr encoding and decoding - #2675

Merged
mootz12 merged 1 commit into
mainfrom
limit-xdr-depth
Aug 10, 2026
Merged

Add depth limit to xdr encoding and decoding#2675
mootz12 merged 1 commit into
mainfrom
limit-xdr-depth

Conversation

@mootz12

@mootz12 mootz12 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What

Adds a depth limit to all XDR encoding and decoding sites.

Why

This also prevents stack overflow crashes if intentionally deep XDR structs are encountered.

Known limitations

None