Files
effectcraft/crates
Brandon ThomasandClaude Opus 5.5 f8460971f0 Never crash: scripts nested too deeply return an error instead of overflowing the stack
Scripts (Script Console, effectcraft-cli script, the MCP run_script tool) are parsed by Boa,
which recurses per nesting level and overflows the stack (aborting the app) at about 200
levels on an 8 MiB thread. run() now rejects a script nested deeper than MAX_NESTING (96)
brackets with a ScriptError before parsing; strings, template literals and comments are
skipped. Also replaces expect("console context") with an error, and denies the panic lints.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:26:05 -04:00
..
2026-10-04 02:57:17 -04:00
2026-10-04 02:57:17 -04:00
2026-10-04 02:57:17 -04:00
2026-10-03 13:13:50 -04:00
2026-10-04 02:57:17 -04:00
2026-10-03 02:25:56 -04:00
2026-10-04 02:57:17 -04:00