Fix an assert in purple_markup_html_to_xhtml

Review Request #921 — Created Sept. 14, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y

Reviewers

While g_string_free is NULL-safe, the assert for passing it in breaks
ossfuzz. This can happen if there is no src= in the img as expected.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35029

Ran the test case from the bug against fuzz_html_to_xhtml

Commits

Files

    Loading...