Fix an assert in purple_markup_html_to_xhtml
Review Request #921 — Created Sept. 13, 2021 and submitted
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
Summary | ID |
---|---|
2b4c1ad76f9be1c1074923d25b68a4a3c5148657 |