Skip to content

parser: reject syntaxes that could cause catastrophic backtracking#695

Merged
GuillaumeGomez merged 1 commit intoaskama-rs:mainfrom
Kijewski:fuzz-471520159
Feb 5, 2026
Merged

parser: reject syntaxes that could cause catastrophic backtracking#695
GuillaumeGomez merged 1 commit intoaskama-rs:mainfrom
Kijewski:fuzz-471520159

Conversation

@Kijewski
Copy link
Copy Markdown
Member

@Kijewski Kijewski commented Feb 5, 2026

@Kijewski Kijewski added bug Something isn't working fuzzing error A bug found by fuzzing parser Related to the parser labels Feb 5, 2026
@Kijewski
Copy link
Copy Markdown
Member Author

Kijewski commented Feb 5, 2026

I tried to fix the catastrophic backtracking in the parsing of macros first, but that turned out to be quite complicated. I daresay that no-one will be angry that they can't use ** to close expressions anymore.

It's too bad the that cool looking ...!!! won't be possible anymore, either ...!!! :)

@GuillaumeGomez
Copy link
Copy Markdown
Collaborator

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit 1ff34f2 into askama-rs:main Feb 5, 2026
50 checks passed
@Kijewski Kijewski deleted the fuzz-471520159 branch February 5, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fuzzing error A bug found by fuzzing parser Related to the parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants