Skip to content

[pull] master from mruby:master#169

Merged
pull[bot] merged 1 commit intosysfce2:masterfrom
mruby:master
Dec 31, 2025
Merged

[pull] master from mruby:master#169
pull[bot] merged 1 commit intosysfce2:masterfrom
mruby:master

Conversation

@pull
Copy link

@pull pull bot commented Dec 31, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

When parsing malformed input with many syntax errors (e.g., via eval
with a long garbage string), the parser would continue until the end
of input, causing long execution times.

Add an early termination check in the lexer that returns EOF once
the error count exceeds 10 (same as error_buffer size). This prevents
DoS from inputs like eval("garbage" * 1000).

Co-authored-by: Claude <noreply@anthropic.com>
@pull pull bot locked and limited conversation to collaborators Dec 31, 2025
@pull pull bot added the ⤵️ pull label Dec 31, 2025
@pull pull bot merged commit 510ebd7 into sysfce2:master Dec 31, 2025
14 of 15 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant