Skip to content

parser: reject bare CR in doc comments#526

Merged
GuillaumeGomez merged 1 commit intoaskama-rs:masterfrom
Kijewski:6236623325167616
Jul 14, 2025
Merged

parser: reject bare CR in doc comments#526
GuillaumeGomez merged 1 commit intoaskama-rs:masterfrom
Kijewski:6236623325167616

Conversation

@Kijewski
Copy link
Copy Markdown
Member

Resolves https://issues.oss-fuzz.com/issues/431448399.

The diff is best viewed with white spaces changes hidden.

@Kijewski Kijewski added bug Something isn't working fuzzing error A bug found by fuzzing parser Related to the parser labels Jul 13, 2025
Comment thread askama_derive/src/tests.rs Dismissed
Comment thread askama_derive/src/tests.rs Dismissed
Comment thread askama_derive/src/tests.rs Dismissed
Comment thread askama_derive/src/tests.rs Dismissed
@Kijewski
Copy link
Copy Markdown
Member Author

Some day I have to find out why the rust hackers hate CRs. :D

@GuillaumeGomez
Copy link
Copy Markdown
Collaborator

Everyone hates them. :p

(unless you're doing some termcaps, then it's useful)

Thanks for the fix!

@GuillaumeGomez GuillaumeGomez merged commit 97366c7 into askama-rs:master Jul 14, 2025
42 checks passed
@Kijewski Kijewski deleted the 6236623325167616 branch July 14, 2025 11:07
@Kijewski Kijewski mentioned this pull request Jul 20, 2025
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.

3 participants