Skip to content
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

Fix crash from missing parser.h include #129

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

phoney
Copy link
Contributor

@phoney phoney commented Mar 25, 2019

The cmark file parser.h was missing a #include. This resulted in the compiler generating bad code for a reference to the mem struct. This caused men->free() to actually call mem->xcalloc() in the reference_free() function, which caused the crash. This has been fixed in the cmark project source code.

The cmark file parser.h was missing a #include. This resulted in the compiler generating bad code for a reference to the mem struct. This caused men->free() to actually call mem->xcalloc() in the reference_free() function, which caused the crash. This has been fixed in the cmark project source code.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 90.625% when pulling ea3df18 on phoney:feature/fix-crash into 8d0dcae on iwasrobbed:master.

@iwasrobbed iwasrobbed changed the title Fix a crash with a link Fix crash from missing parser.h include Mar 27, 2019
@iwasrobbed iwasrobbed merged commit 4d94799 into johnxnguyen:master Mar 27, 2019
@iwasrobbed
Copy link
Collaborator

Thanks again @phoney 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants