Fix an assert in purple_markup_html_to_xhtml
Review Request #921 — Created Sept. 14, 2021 and submitted — Latest diff uploaded
While
g_string_free
is NULL-safe, the assert for passing it in breaks
ossfuzz. This can happen if there is nosrc=
in theimg
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