Closed ChijinZ closed 6 years ago
Ouch. The test case exhibits two bugs.
I'll open new issue for 2, lets keep this thread only about the invalid read.
The invalid read can be hit with this minimized test-case:
[x]((x
x]((C(&))
Fixed the invalid read.
command: ./md2html testfile
testcase: https://github.com/ChijinZ/security_advisories/blob/master/md4c-387bd02/crash_md_is_named_entity_contents
AddressSanitizer provided information as below: