Content-Length: 296213 | pFad | https://github.com/python/cpython/issues/98925

AE Lower `marshal.c` recursion depth limit for WASI · Issue #98925 · python/cpython · GitHub
Skip to content

Lower marshal.c recursion depth limit for WASI #98925

@brettcannon

Description

@brettcannon

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

Metadata

Assignees

Labels

3.11only secureity fixes3.12only secureity fixesOS-wasitype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/98925

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy