Skip to content

Conversation

@devnexen
Copy link
Member

…eString().

@devnexen devnexen force-pushed the tidy_parse_string_upd branch from 265f1f4 to 729b8d7 Compare July 10, 2025 22:51
@devnexen devnexen marked this pull request as ready for review July 10, 2025 23:39
obj->ptdoc->initialized = true;

#ifdef HAVE_TIDYPARSESTRING
if (tidyParseString(obj->ptdoc->doc, string) < 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://3v4l.org/KMN1s (edit the repro slightly, as tidy ext is available for live/wasm preview only)

I guess this will stop parsing on the first null byte. Currently explicit length is honored.

@devnexen
Copy link
Member Author

yep good point

@devnexen devnexen closed this Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants