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 segfaults in ALL_IN_ONE mode #61

Merged
merged 1 commit into from Jan 13, 2019

Conversation

Projects
None yet
2 participants
@Azq2
Copy link
Contributor

Azq2 commented Jan 9, 2019

Test data:

'<div>ewfewfweffefwe</div>' x 10000

Code:

myhtml = myhtml_create();
myhtml_init(myhtml, MyHTML_OPTIONS_PARSE_MODE_ALL_IN_ONE, 1, 0);

myhtml_tree_t *tree = myhtml_tree_create();
myhtml_tree_init(tree, myhtml);
myhtml_parse(tree, MyENCODING_DEFAULT, html_str, html_length);

@lexborisov lexborisov merged commit 0f1531a into lexborisov:master Jan 13, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@lexborisov

This comment has been minimized.

Copy link
Owner

lexborisov commented Jan 13, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment