Skip to content

Fix SEGV in xmlSAXParseFileWithData

yanjinjq requested to merge yanjinjq/libxml2:master into master

when testdata is abnormal, it would enter “detected an error in element content” process in xmlParseContent.Then ctxt->input->buf was set to NULL in xmlHaltParser. AS s result, SEGV occured when reading ctxt->input->buf->compressed in xmlSAXParseFileWithData.

for #181 (closed)

Merge request reports