Skip to content

Lower marshal.c recursion depth limit for WASI #98925

Closed
@brettcannon

Description

Based on bytecodealliance/wasmtime#5152 it looks like the stack depth specified in:

#define MAX_MARSHAL_STACK_DEPTH 2000

and:

MAX_MARSHAL_STACK_DEPTH = 2000

are too high for wasmtime 2.0 (in development). We should drop it to either 1000 to match Windows or something like 1500 if we want a higher, but still acceptable, limit.

Metadata

Assignees

Labels

3.11only security fixes3.12bugs and security fixesOS-wasitype-bugAn unexpected behavior, bug, or error

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions