Closed manunio closed 4 months ago
Thank you very much for finding the error and providing a test case! I rewrote the comment parsing from scratch in #1027.
Thank you very much for finding the error and providing a test case! I rewrote the comment parsing from scratch in #1027.
Hi, Thanks for the quick fix! I've tested it against fuzz_parser.rs locally, and it's not reporting any issues here :)
Hi,
Large nested comments like below(produced by fuzzing);
makes the parser get stuck at following lines. https://github.com/djc/askama/blob/5955ba23c172ef6bbc0116b9ab0d6f068b86a688/askama_parser/src/node.rs#L1027-L1029
Steps to reproduce: comment-testcase.txt
Will having a guard against deep nesting can be considered as a fix here ?