Skip to content

Fix exponential comment lexing, bump to 0.4.0 - #16

Merged
leonbohn merged 2 commits into
mainfrom
release-0.4.0
Nov 6, 2026
Merged

leonbohn merged 2 commits into
mainfrom
release-0.4.0

Conversation

@leonbohn

@leonbohn leonbohn commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Fuzzing (10 min each for parse, roundtrip, split) found that unclosed nested /* comments made the lexer exponential (180 bytes took 5 s). Fixed with a depth counter plus a regression test. Second commit bumps the version to 0.4.0. After the fix, a second 10-minute run of each target found nothing.

@leonbohn
leonbohn merged commit c65522e into main Nov 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant