Saturday, 5 August 2023

[PATCH 0/1] libdom: handle empty document with libxml

I encountered a segfault while trying to parse an empty file with
libsvgtiny that I traced back to libdom. It looks like a missing NULL
check is to blame. I have yet to (figure out how to) run the libdom
test suite however, so caveat emptor.

Michael Orlitzky (1):
bindings/xml/libxml_xmlparser.c: handle an empty document

bindings/xml/libxml_xmlparser.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

--
2.39.3
_______________________________________________
netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org
To unsubscribe send an email to netsurf-dev-leave@netsurf-browser.org

No comments:

Post a Comment