Skip to content

fix: Bound program preflight without recursive stack growth #7

Open

Description

@rhighs

Make program structure/limit preflight iterative and bounded while preserving identity and scoped-limit checks (sdk/program.ts:142); 15,000 nested withLimits({}) calls produce RangeError before configured depth, node or timeout limits can act, so add a deep-definition regression.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions