-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect parsing of code block inside list #561
Comments
What a beauty! Not only have you found another bug, but you have also challenged my, apparently incorrect, belief that fuzzers either find something in the first minute or nothing at all :-) I'll have a crack at this. Thanks again for reporting an interesting catch! |
:D |
Keeping this open to remind us to not only not panic, but also render it correctly! |
Cool! Thanks for the fast fix. I'll leave a fuzzer running overnight and see what happens. My previous fuzzing was actually running on ASCII only with a limited character set purely to not find too many issues, but it seems like all the easy to find issues are indeed done, and we're now finding the Spicy |
Haha, I'm super eager to see what 🌶️ issues you will find! |
Oh no, I just tried fuzzing with let parser = Parser::new_ext(data, Options::all()); and it found panics immediately 🙈 Still lots of work to do! |
Both |
Looking at this tomorrow 😅 |
Ah, right! Yes, I've been fuzzing with default options... I'll amend my PR (#562) to fuzz both the input and the options. |
Is this still an issue, @5225225? If it is, I will try to fix it. Thanks. |
The panic has been fixed, but the behavior is incorrect (See the discussion in the PR #563). I'll change the issue title to reflect that. |
OK, I see this less relevant then, I will try to solve it in the future but it is less urgent now. |
This has been fixed, a space between the first two asterisks and the last one is rendered inside the code block now. Surely fixed by one of the latest pull requests about handling emphasis. |
Panics with
This is deep in the nest of parsing internals, and I have no clue how the parser works here. So uhh.... good luck!
I tried to minimise the test case by removing single characters, and couldn't make it any smaller than this.
The text was updated successfully, but these errors were encountered: